JP2009038782A - Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method - Google Patents
Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method Download PDFInfo
- Publication number
- JP2009038782A JP2009038782A JP2007203792A JP2007203792A JP2009038782A JP 2009038782 A JP2009038782 A JP 2009038782A JP 2007203792 A JP2007203792 A JP 2007203792A JP 2007203792 A JP2007203792 A JP 2007203792A JP 2009038782 A JP2009038782 A JP 2009038782A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- encoded data
- image
- unit
- image processing
- 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.)
- Withdrawn
Links
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
【課題】本発明は、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体に関し、例えばディジタルスチルカメラに適用して、従来に比して符号化処理された画像データを表示等する際の処理時間を短縮し、画像データの処理に必要な帯域、消費電力を低減する。
【解決手段】
本発明は、1画面を分割して形成される独立復号化単位毎に独立して復号可能に、符号化データD1を独立復号可能符号化データD2に変換して記憶部21に格納した後、1つ又は複数の独立復号化単位による処理ブロック単位で、画像データD3を復号、処理する。
【選択図】 図1The present invention relates to an image processing apparatus, an image processing method, a program for the image processing method, and a recording medium on which the program for the image processing method is recorded. The processing time when displaying the image data is shortened, and the bandwidth and power consumption required for processing the image data are reduced.
[Solution]
The present invention converts the encoded data D1 into the independently decodable encoded data D2 and stores it in the storage unit 21 so that it can be independently decoded for each independent decoding unit formed by dividing one screen. The image data D3 is decoded and processed in units of processing blocks by one or a plurality of independent decoding units.
[Selection] Figure 1
Description
本発明は、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体に関し、例えばディジタルスチルカメラに適用することができる。本発明は、1画面を分割して形成される独立復号化単位毎にそれぞれ独立して復号可能に、符号化データを独立復号可能符号化データに変換して記憶部に格納した後、独立復号化単位以上の大きさによる処理ブロック単位で、画像データを復号、処理することにより、符号化処理された画像データを表示等する際の処理時間を従来に比して短縮し、画像データの処理に必要な帯域、消費電力を低減する。 The present invention relates to an image processing apparatus, an image processing method, a program for the image processing method, and a recording medium on which the program for the image processing method is recorded, and can be applied to, for example, a digital still camera. The present invention converts encoded data into independently-decodable encoded data after being stored in a storage unit so as to be independently decodable for each independent decoding unit formed by dividing one screen. By decoding and processing the image data in units of processing blocks with a size larger than the encoding unit, the processing time for displaying the encoded image data is shortened compared to conventional processing, and the image data processing To reduce bandwidth and power consumption.
従来、ディジタルスチルカメラは、撮像素子から得られた画像データをJPEG(Joint Photographic Experts Group )の手法により符号化処理して符号化データを生成し、この符号化データを記録媒体に記録している。またディジタルスチルカメラは、ユーザーの操作により、この記録媒体に記録した符号化データを再生して画像データを復号した後、表示に適した解像度にリサイズして表示している。 Conventionally, a digital still camera encodes image data obtained from an image sensor by a JPEG (Joint Photographic Experts Group) method to generate encoded data, and records the encoded data on a recording medium. . Also, the digital still camera reproduces the encoded data recorded on the recording medium and decodes the image data by the user's operation, and then resizes and displays the image data at a resolution suitable for display.
このようなリサイズ等の処理に関して、例えば特開2007−158884号公報には、記録媒体に記録した符号化データを画像処理して記録し直す場合等において、画像処理単位で符号化データを復号化処理、画像処理、符号化処理した後、並べ直し、画像処理結果を一時格納するバッファメモリの容量を小容量化する方法が提案されている。 Regarding processing such as resizing, for example, in Japanese Patent Application Laid-Open No. 2007-15884, when encoded data recorded on a recording medium is subjected to image processing and re-recorded, the encoded data is decoded in units of image processing. A method for reducing the capacity of a buffer memory for temporarily storing image processing results after rearranging after processing, image processing, and encoding processing has been proposed.
ところで従来のディジタルスチルカメラは、記録媒体に記録された符号化データを復号して表示する場合に、処理に時間を要する問題があり、また処理に十分な帯域を要し、消費電力が増大する問題があった。 By the way, the conventional digital still camera has a problem that it takes time to process the encoded data recorded on the recording medium and displays it, and also requires a sufficient bandwidth for the processing, resulting in an increase in power consumption. There was a problem.
具体的に図30は、従来のディジタルスチルカメラにおいて、画像データを復号して表示する場合の説明に供する略線図である。この図30の例は、符号化画像により示す10〔Mpixel〕、4〔MB〕の符号化データDA1が記録媒体1に格納されている場合である。この場合、ディジタルスチルカメラは、この4〔MB〕の符号化データDA1を記録媒体1から復号部2に転送して画像データDA2を復号し、復号画像により示す復号した画像データDA2をメモリ3に格納する。またこのメモリ3に格納した画像データDA2を画像処理部4に入力し、表示部に適した解像度にリサイズする。また処理結果画像により示すリサイズした画像データDA3をメモリ3に格納し、このメモリ3に格納した画像データを表示部で表示する。
Specifically, FIG. 30 is a schematic diagram for explaining the case where image data is decoded and displayed in a conventional digital still camera. The example of FIG. 30 is a case where 10 [Mpixel] and 4 [MB] of encoded data DA1 indicated by the encoded image is stored in the
ここで記録媒体1に格納された符号化データを復号部2で処理して20〔MB〕の画像データDA2が復号されたとする。また画像処理部4において、この20〔MB〕の画像データDA2の画素数を1/10に低減して、1〔Mpixel〕、2〔MB〕による画像データDA3を生成するものとする。この場合、記録媒体1から符号化データDA1を読み出して画像データDA3をメモリ3に格納するまで、全部で46〔MB〕のデータを転送することが必要となる。その結果、ディジタルスチルカメラは、画像データの処理に十分な帯域が必要になり、消費電力が増大することになる。またメモリ3をアクセスする回数が増大し、処理に時間を要することになる。
Here, it is assumed that the encoded data stored in the
この問題を解決する1つの方法として、復号部2で復号された画像データDA2を直接画像処理部4に入力して処理する方法も考えられるが、この方法の場合、画像処理部4に複数ライン分の遅延回路を設けることが必要になり、画像処理部4の構成が著しく複雑になる。
本発明は以上の点を考慮してなされたもので、従来に比して符号化処理された画像データを表示等する際の処理時間を短縮し、画像データの処理に必要な帯域、消費電力を低減することができる画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体を提案しようとするものである。 The present invention has been made in consideration of the above points, and compared with the prior art, the processing time when displaying encoded image data is shortened, and the bandwidth and power consumption required for processing the image data are reduced. Image processing apparatus, image processing method, image processing method program, and recording medium on which the image processing method program is recorded are proposed.
上記の課題を解決するため請求項1の発明は、可変長の符号化データから画像データを復号して処理する画像処理装置に適用して、前記符号化データによる1画面を分割した独立復号化単位毎に、独立して前記符号化データによる画像データに復号可能に、前記符号化データを独立復号可能符号化データに変換する符号変換部と、前記符号変換部から出力される前記独立復号可能符号化データを格納する記憶部と、前記独立復号化単位以上の大きさの処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する復号部と、前記復号部で復号された画像データを前記処理ブロック単位で処理する画像処理部とを備えるようにする。
In order to solve the above problems, the invention of
また請求項15の発明は、可変長の符号化データから画像データを復号して処理する画像処理方法に適用して、前記符号化データによる1画面を分割した独立復号化単位毎に、独立して前記符号化データによる画像データに復号可能に、前記符号化データを独立復号可能符号化データに変換する符号変換ステップと、前記符号変換ステップから出力される前記独立復号可能符号化データを記憶部に格納する記憶ステップと、前記独立復号化単位以上の大きさの処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する復号ステップと、前記復号ステップで復号された画像データを前記処理ブロック単位で処理する画像処理ステップとを備えるようにする。
The invention of
また請求項16の発明は、可変長の符号化データから画像データを復号して処理する画像処理方法のプログラムに適用して、前記符号化データによる1画面を分割した独立復号化単位毎に、独立して前記符号化データによる画像データに復号可能に、前記符号化データを独立復号可能符号化データに変換する符号変換ステップと、前記符号変換ステップから出力される前記独立復号可能符号化データを記憶部に格納する記憶ステップと、前記独立復号化単位以上の大きさの処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する復号ステップと、前記復号ステップで復号された画像データを前記処理ブロック単位で処理する画像処理ステップとを備えるようにする。
The invention of
また請求項17の発明は、可変長の符号化データから画像データを復号して処理する画像処理方法のプログラムを記録した記録媒体に適用して、前記プログラムは、前記符号化データによる1画面を分割した独立復号化単位毎に、独立して前記符号化データによる画像データに復号可能に、前記符号化データを独立復号可能符号化データに変換する符号変換ステップと、前記符号変換ステップから出力される前記独立復号可能符号化データを記憶部に格納する記憶ステップと、前記独立復号化単位以上の大きさの処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する復号ステップと、前記復号ステップで復号された画像データを前記処理ブロック単位で処理する画像処理ステップとを備えるようにする。
The invention of
請求項1、請求項15、請求項16、又は請求項17の構成によれば、復号化した画像データに代えて、復号した画像データに比してデータ量の少ない独立復号可能符号化データを記憶手段に保持して、画像処理の処理ブロックに対応する独立復号化単位の独立復号可能符号化データを選択的に記憶部から読み出して画像処理することができる。従って復号化した画像データを記憶手段に記憶する場合に比して、記憶手段の容量を少なくすることができ、また記憶手段からのデータ量を低減して、処理時間を短縮し、画像データの処理に必要な帯域、消費電力を低減することができる。
According to the configuration of
本発明によれば、従来に比して符号化処理された画像データを表示等する際の処理時間を短縮し、画像データの処理に必要な帯域、消費電力を低減することができる。 According to the present invention, it is possible to shorten the processing time when displaying image data that has been subjected to encoding processing as compared with the prior art, and to reduce the bandwidth and power consumption required for processing the image data.
以下、適宜図面を参照しながら本発明の実施例を詳述する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate.
(1)全体構成
図2は、本発明の実施例1のディジタルスチルカメラを示すブロック図である。このディジタルスチルカメラ11は、図示しない撮像部により所望の被写体を撮像して画像データを取得する。ディジタルスチルカメラ11は、この取得した画像データを図示しない符号化部によりJPEGの手法で符号化処理して符号化データD1を生成する。ディジタルスチルカメラ11は、この符号化データD1を記録媒体13に記録する。なおここで記録媒体13は、光ディスク、ハードディスク、メモリカード等である。ディジタルスチルカメラ11は、ユーザーの操作に応動して、この記録媒体13に記録した符号化データD1を復号してディスプレイ14で表示する。
(1) Overall Configuration FIG. 2 is a block diagram showing a digital still camera according to
ここで制御部15は、中央処理ユニット(CPU)16の制御により、符号化部からバスBUSに出力される符号化データD1を記録媒体13に記録する。また記録媒体13に記録された符号化データD1を再生してバスBUSに出力する。
Here, the
符号変換部17は、中央処理ユニット16の制御により、記録媒体13から再生されてバスBUSに出力される符号化データD1を取得する。さらに符号化データD1による1画面を分割して形成される所定ブロック単位で、各ブロックを個々に独立して復号可能に、この取得した符号化データD1をデータ変換して独立復号可能符号化データD2を生成する。符号変換部17は、バスBUSを介して、生成した独立復号可能符号化データD2をランダムアクセスメモリ21に格納する。以下、この個々に独立して復号可能なブロックを独立復号化単位と呼び、1つ又は複数のMCU(Minimum Code Unit )により構成される。
The
復号部12は、画像処理部19における処理に応じて、バスBUSを介して、ランダムアクセスメモリ21から独立復号可能符号化データD2を取得する。また取得した独立復号可能符号化データD2を処理して画像データD3に復号する。復号部12は、この復号した画像データD3を図示しないバッファメモリを介して画像処理部19に出力する。
The
画像処理部19は、中央処理ユニット16の制御により、復号部12から出力される画像データD3を入力する。画像処理部19は、この画像データD3をリサイズ処理し、この画像データD3をディスプレイ14の解像度に対応する画像データD4に変換して出力する。
The
表示部20は、画像処理部19から出力される画像データD4によりディスプレイ14を駆動し、この画像データD4をディスプレイ14で表示する。ディスプレイ14は、例えば液晶表示装置により構成される。
The
中央処理ユニット16は、ランダムアクセスメモリ(RAM)21にワークエリアを確保してリードオンリメモリ(ROM)22に格納されたプログラムを実行し、キー23の操作に応動してこのディジタルスチルカメラ11の各部の動作を制御する。
The
ランダムアクセスメモリ(RAM)21は、中央処理ユニット16のワークエリアを構成すると共に、バスBUSに出力される符号化データDA1、独立復号可能符号化データD2等を一時格納するバッファを構成する。
The random access memory (RAM) 21 constitutes a work area of the
(2)符号変換部17、復号部12、画像処理部19の詳細構成
このディジタルスチルカメラ11において、画像処理部19は、処理ブロック単位で、復号部12から出力される画像データD3をフィルタリング処理してリサイズの処理を実行する。またこの画像処理部19の処理ブロック単位の処理に対応して、復号部12は、画像処理部19で処理する処理ブロックの画像データD3のみ選択的に復号して画像処理部19に出力する。符号変換部17は、これら復号部12、画像処理部19の処理に先立ち、1画面分、符号化データD1を独立復号可能符号化データD2に変換してランダムアクセスメモリ21に格納する。ここでこの処理ブロックは、符号化データD1による1画面に設定された処理単位のブロックであり、水平方向及び垂直方向にそれぞれ1つ又は複数の独立復号化処理単位で形成される。
(2) Detailed Configuration of
ここで図3(A)に示すように、JPEGでは、符号化処理単位であるMCU単位で画像データを直交変換処理し、その結果得られる係数データを量子化処理、可変長符号化処理して符号化データD1を生成する。またJPEGでは、ラスタ走査の順序で順次MCUを処理し、直交変換処理して得られる係数データのうち、直流成分の係数データについては、いわゆるDC差分により符号化データD1を生成する。ここでDC差分は、直前で処理したMCUにおける直流成分の係数値との差分値である。従ってJPEGの符号化データD1では、図4の独立復号不可能符号化画像において矢印で復号順序を示すように、符号化処理の順序で順次MCUを復号化する必要があり、所望のMCUのみを選択的に処理したのでは、元の画像データを復号することができない。 Here, as shown in FIG. 3A, in JPEG, image data is orthogonally transformed in units of MCUs that are units of encoding processing, and coefficient data obtained as a result is subjected to quantization processing and variable length encoding processing. Encoded data D1 is generated. In JPEG, among the coefficient data obtained by sequentially processing the MCU in the order of raster scanning and performing orthogonal transform processing, for the DC component coefficient data, encoded data D1 is generated by a so-called DC difference. Here, the DC difference is a difference value from the coefficient value of the DC component in the MCU processed immediately before. Therefore, in the encoded data D1 of JPEG, it is necessary to sequentially decode the MCUs in the order of the encoding process as indicated by the arrows in the encoded image that cannot be independently decoded in FIG. With selective processing, the original image data cannot be decoded.
そこで符号変換部17は、図3(B)に示すように、連続する符号化データD1における独立復号化単位の区切りに区切りコードを設定すると共に、この区切りコードの設定に対応するように、続くMCUに設けられている直流成分の係数データを変更し、符号化データD1を独立復号可能符号化データD2に変換する。ここで区切りコードは、直前の符号化処理単位を復号しなくても、続く符号化処理単位が復号可能であることを示すコードである。上述したようにJPEGでは、いわゆるDC差分により直流成分の係数データを符号化処理していることから、この実施例では、このDC差分による処理の開始位置を示すリスタートマーカーがこの区切りコードに適用される。
Therefore, as shown in FIG. 3B, the
ここでこの実施例では、独立復号化単位が1又は複数のMCUで構成されることから、またJPEGの符号化データでは、ラスタ走査順に順次MCUが処理されていることから、独立復号化単位が1つのMCUに設定されている場合、リスタートマーカーはMCU毎に設定される。また独立復号化単位が水平方向にのみ連続する複数のMCUにより構成される場合、リスタートマーカーは、少なくとも独立復号化単位のラスタ走査終了端のMCUが終了すると設定される。また独立復号化単位が、垂直方向及び水平方向に連続する複数のMCUにより構成される場合には、リスタートマーカーは、この独立復号化単位において水平方向に連続する各ラインの、ラスタ走査終了端のMCUが終了すると設定される。 Here, in this embodiment, since the independent decoding unit is composed of one or a plurality of MCUs, and in the case of JPEG encoded data, the MCUs are sequentially processed in the raster scanning order. When one MCU is set, the restart marker is set for each MCU. When the independent decoding unit is composed of a plurality of MCUs that are continuous only in the horizontal direction, the restart marker is set when the MCU at the end of raster scanning of the independent decoding unit ends. In addition, when the independent decoding unit is configured by a plurality of MCUs that are continuous in the vertical direction and the horizontal direction, the restart marker is the raster scan end point of each line that is continuous in the horizontal direction in the independent decoding unit. Set when the MCU is finished.
符号変換部17は、図5(A)及び(B)に示すように、符号化データD1を記録媒体13から順次読み出し、直流成分の係数データDC−A、DC−B、DC−C、DC−D、DC−Eのみ順次選択的に復号する。また独立復号化単位に応じて、復号した直流成分の係数データDC−C、DC−Eを量子化処理、可変長符号化処理し、DC差分によらない直流成分の符号化データDC−C2、DC−E2を生成する。符号変換部17は、この生成した直流成分の符号化データDC−C2、DC−E2を、この生成元のDC差分の係数データDC−C、DC−Eと置き換える(図5(B))。また図5(C)に示すように、この係数データを置き換えたMCUの先頭にリスタートマーカーRSTを設定し、独立復号可能符号化データD2を生成する。従って図5の例では、MCU−A及びMCU−B、MCU−C及びMCU−Dによりそれぞれ独立復号化単位が作成される。
As shown in FIGS. 5A and 5B, the
従って図4において独立復号可能画像により示すように、独立復号可能符号化データD2は、独立復号化単位毎に、独立に復号することが可能となる。なお図4は、1つのMCUを独立符号化単位に設定した場合を示すものである。 Accordingly, as shown by the independently decodable image in FIG. 4, the independently decodable encoded data D2 can be independently decoded for each independent decoding unit. FIG. 4 shows a case where one MCU is set as an independent coding unit.
さらに符号変換部17は、独立復号可能符号化データD2のビット数をカウントし、区切りコード設定時のカウント値により、独立復号化処理単位の開始位置を示す独立復号開始位置情報DSを生成する。ここでこの独立復号開始位置情報DSは、図4及び図5に示すように、独立復号可能符号化データD2の先頭からの開始位置情報としてもよく、1つのリスタートマーカーRSTから続くリスタートマーカーRSTまでの符号長としてもよく、これらの双方としてもよい。またこれらの場合に、リスタートマーカーRSTのビット量を前後、何れの独立復号化処理単位に含めるようにしてもよい。なおリスタートマーカーの挿入を省略して、独立復号開始位置情報のみ設けるようにしてもよい。この場合独立復号開始位置情報はビット単位となる。
Further, the
図1に示すように、符号変換部17は、復号部12、画像処理部19における処理の前に、1画面分の符号化データD1を独立復号可能符号化データD2に変換し、変換した独立復号可能符号化データD2を独立復号開始位置情報DSと共にメモリ21に格納する。従ってこの図1の例では、10〔Mpixel〕、4〔MB〕の符号化データDA1が10〔Mpixel〕、4.2〔MB〕の独立復号可能符号化データD2に変換され、この独立復号可能符号化データD2が300〔KB〕の独立復号開始位置情報DSと共にメモリ21に格納される。
As shown in FIG. 1, the
復号部12は、中央処理ユニット16の制御により、図6に示すように、メモリ21に格納された独立復号開始位置情報DSに基づいて、処理対象の処理ブロックを構成する独立復号可能単位の独立復号可能符号化データD2を順次メモリ21から入力する。復号部12は、この入力した独立復号可能符号化データD2から画像データD3を復号し、図示しないバッファメモリを介して画像処理部19に出力する。
As shown in FIG. 6, the
なおこの図6は、図7に示すように、符号化データD1による1画面の画像を水平方向及び垂直方向にそれぞれ3等分して独立復号可能単位A〜Iを設定し、各独立復号可能単位A〜Iが垂直方向に2つのMCUで作成されているとした場合に、独立復号可能単位Eの独立復号可能符号化データD2を処理する場合である。この図6では独立復号可能符号化データD2の各独立復号可能単位A〜Iのデータ量を各独立復号可能単位A〜Iを示すブロックの横方向の大きさにより示す。 In FIG. 6, as shown in FIG. 7, the image of one screen based on the encoded data D <b> 1 is divided into three equal parts in the horizontal direction and the vertical direction to set independent decodable units A to I, and each independent decoding is possible. This is a case where the independently decodable encoded data D2 of the independently decodable unit E is processed when the units A to I are created by two MCUs in the vertical direction. In FIG. 6, the amount of data of each independently decodable unit A to I of the independently decodable encoded data D2 is indicated by the horizontal size of the block indicating each independently decodable unit A to I.
画像処理部19は、この画像データD3をリサイズして画像データD4を生成し、この画像データD4をメモリ21に格納する。すなわち画像処理部19は、2次元のFIR(Finite Impulse Response )フィルタにより画像データD3をフィルタリング処理してリサイズの処理を実行する。画像処理部19は、処理ブロックの水平方向の長さ分だけ、順次入力される画像データを順次遅延させる遅延回路が、フィルタの垂直方向のタップ数に対応する数だけ直列接続されて、この遅延回路の直列接続回路が2次元のフィルタの入力段に設けられる。画像処理部19は、処理ブロック内において、画像データD3をラスタ走査の順序でこの遅延回路の直列回路に順次入力して転送しながら、各遅延回路の出力を2次元のフィルタに順次入力してフィルタリング処理し、処理ブロック単位でリサイズの処理を実行する。なお、遅延回路の直列回路は、バッファメモリにより構成してもよい。
The
(3)独立復号可能単位
ここで画像処理部19において、画像データをフィルタリング処理する場合、隣接したブロックにおいて、重複した画像データを処理することが必要になる。すなわち図8(A)に示すように、例えば1画面を水平方向に3等分して作成された中央の領域Aをリサイズした後、隣接する右側の領域Bをリサイズする場合、矢印により示す境界に近接する領域Aの画像データD3を改めてフィルタリング処理することが必要になる。従ってこの図8(A)の場合、図8(B)に示すように、これら領域A及びBの境界部分では、フィルタリング処理するタップ数に応じた領域a及びbの画像データD3を重複してフィルタリング処理することが必要になる。以下、この領域a及びbを重複処理領域と呼ぶ。
(3) Independently Decodable Unit Here, when image data is subjected to filtering processing in the
独立復号可能単位は、この重複処理領域を繰り返し処理可能に、この重複処理領域を独立して復号可能な大きさに設定される。 The independently decodable unit is set to a size that allows this overlapping processing area to be independently decoded so that this overlapping processing area can be repeatedly processed.
ここで図9(A)〜(D)に示すように、画像処理部19の処理ブロックを、水平方向に1個、垂直方向に4個の独立復号可能単位によるブロックAA及びABと仮定し、このブロックAA及びABを画像処理部19で順次フィルタリング処理するものと仮定する。なおこの図9(A)では、独立復号可能単位の1つをハッチングにより示す。また以下においては、水平方向についてのみフィルタリング処理を考察するものの、重複処理領域に関しては、垂直方向に隣接する処理ブロック間でも発生し、以下に説明する水平方向の場合と同様のことが言える。
Here, as shown in FIGS. 9A to 9D, the processing blocks of the
ここで図9(A)に示すように、左側のブロックAAを画像処理部19でフィルタリング処理すると、図9(B)に示すように、右側のブロックABとの境界側では、フィルタリング処理に供するタップ数に応じたサンプル数tだけ、正常にフィルタリング処理できない領域が発生する。また図9(C)に示すように、続いて右側のブロックABをフィルタリング処理すると、図9(D)に示すように、左側のブロックとの境界側では、同様に、フィルタリング処理に供するタップ数に応じたサンプル数tだけ、正常にフィルタリング処理できない領域が発生する。
Here, as shown in FIG. 9A, when the left block AA is filtered by the
その結果、図9(E)に示すように、この場合、これらブロックAA及びABの境界を間に挟んで、それぞれ所定サンプル数だけ、正常にフィルタリング処理できない領域が発生する。この場合、これらブロックAA及びABの大きさによるブロックCを処理ブロックに設定すれば、図9(F)に示すように、この正常に処理できない領域を正常に処理することができる。しかしながらこの場合、画像処理部19の入力段に設けられる遅延回路又はバッファメモリの構成が大型化する。なお遅延回路、バッファメモリの大型化を許容できる場合には、この図9(E)に示すように、処理ブロック、独立復号化単位を設定するようにしてもよい。
As a result, as shown in FIG. 9E, in this case, there are regions that cannot be normally filtered by a predetermined number of samples, with the boundary between the blocks AA and AB interposed therebetween. In this case, if the block C according to the size of the blocks AA and AB is set as a processing block, as shown in FIG. 9F, this normally unprocessable area can be processed normally. However, in this case, the configuration of the delay circuit or buffer memory provided in the input stage of the
そこでこの実施例では、図9との対比により図10(A)において、符号BLA及びBLBにより示すように、重複処理部分を独立して処理可能に独立符号化処理単位を設定し、重複処理部分を両側のブロックとあわせて複数回処理するように処理ブロックを設定する。具体的に、この図10(A)の水平方向の処理を示す例では、符号wで示す重複処理部分に1個の独立符号化処理単位を設定する。またこの重複部分の右側及び左側の処理ブロックのブロック幅WBLを独立符号化処理単位の2個分の幅とする。従ってこの図10(A)の例では、処理ブロックBLA、BLB、BLCを順次復号部12で復号しながら、画像処理部19で順次リサイズ処理する。
Therefore, in this embodiment, as shown by reference numerals BLA and BLB in FIG. 10A in comparison with FIG. 9, an independent encoding processing unit is set so that the overlapping processing portion can be processed independently, and the overlapping processing portion is set. The processing block is set so that is processed multiple times together with the blocks on both sides. Specifically, in the example showing the horizontal processing in FIG. 10A, one independent encoding processing unit is set in the overlapping processing portion indicated by the symbol w. In addition, the block width WBL of the processing blocks on the right side and the left side of the overlapping portion is set to a width corresponding to two independent encoding processing units. Therefore, in the example of FIG. 10A, the processing blocks BLA, BLB, and BLC are sequentially decoded by the
なおここで図10(A)との対比により図10(B)に示すように、重複処理領域に2個以上の独立符号化処理単位を設定して、重複処理領域を独立して処理可能としてもよい。 Here, as shown in FIG. 10 (B) in comparison with FIG. 10 (A), two or more independent encoding processing units are set in the overlapping processing area so that the overlapping processing area can be processed independently. Also good.
なお独立復号化単位の幅をWとおき、フィルタリング処理のタップ数をT、出力サンプル間隔を入力サンプル間隔に換算した幅をSとおくと、重複処理領域の幅wの最小値は、次式で表すことができ、重複処理領域の幅wは、フィルタリング処理に最低必要なサンプル数を、独立復号化単位で切り上げた幅以上とすることが必要である。重複処理領域の幅wが、この(1)による値より小さい場合、ディジタルスチルカメラ11では、フィルタリング処理に必要な余分なサンプル数を画像処理部19に入力することが困難になり、画質が劣化することになる。ここでceilは、括弧内を切り上げて整数化する関数である。
If the width of the independent decoding unit is W, the number of taps of the filtering process is T, and the width obtained by converting the output sample interval to the input sample interval is S, the minimum value of the width w of the overlapping processing region is The width w of the overlapping processing area needs to be equal to or larger than the width obtained by rounding up the minimum number of samples required for the filtering process in units of independent decoding. If the width w of the overlap processing area is smaller than the value of (1), it becomes difficult for the digital
なおこの(1)式より、処理ブロックの幅WBLの1画像の処理で必要な最大幅の最小値は、次式で表すことができ、処理ブロックの幅WBLは、フィルタリング処理に最低必要な幅を独立復号化単位で切り上げた幅に、独立復号化単位を1つ以上加算した重複幅とすることが必要である。ここで(2)式の右辺は、(1)式の右辺に独立復号化単位の幅Wを加算したものである。従って処理ブロックの幅は、重複処理領域に設定した独立復号化単位の幅に、独立復号化単位の1個以上を加算した値とすることが必要である。 From this equation (1), the minimum value of the maximum width required for processing one image of the processing block width WBL can be expressed by the following equation, and the processing block width WBL is the minimum required width for filtering processing. It is necessary to set the overlap width by adding one or more independent decoding units to the width obtained by rounding up the number of independent decoding units. Here, the right side of Expression (2) is obtained by adding the width W of the independent decoding unit to the right side of Expression (1). Therefore, the width of the processing block needs to be a value obtained by adding one or more independent decoding units to the width of the independent decoding units set in the overlapping processing area.
(4)実施例の動作
以上の構成において、このディジタルスチルカメラ11(図2)では、図示しない撮像部で得られた撮像結果の画像データが符号化部で符号化処理され、その結果得られる符号化データD1が制御部15により記録媒体13に記録される。またユーザーが記録媒体13に記録された撮像結果のモニタを指示すると、この記録媒体13に記録された符号化データD1が読み出されて復号部12で復号された後、画像処理部19でリサイズされてディスプレイ14で表示される。
(4) Operation of Embodiment In the above configuration, in the digital still camera 11 (FIG. 2), the image data of the imaging result obtained by the imaging unit (not shown) is encoded by the encoding unit and obtained as a result. The encoded data D1 is recorded on the
このディスプレイ14による画像データの表示において、従来と同様に、符号化データD1を全て処理して元の画像データを復号した後、リサイズしていたのでは(図30)、メモリの容量が大容量化し、また処理に時間を要し、画像データの処理に必要な帯域、消費電力が増大することになる。
In the display of the image data on the
そこでこの実施例では、画像処理部19において、符号化データD1による1画面に設定された処理ブロック単位でリサイズの処理を実行するようにして、画像処理部19で画像処理する処理ブロック毎に、復号部12で画像データD3が復号される。またこの処理ブロック毎の復号を可能とするために、この処理ブロックを構成する独立復号化単位毎に復号可能に、事前に、符号変換部17において、符号化データD1が独立復号可能符号化データD2に変換されてメモリ21に格納される。またこの独立復号可能符号化データD2の生成元の符号化データD1が可変長の符号化データであることから、独立復号可能符号化データD2において各独立復号化単位の開始位置を示す独立復号開始位置情報DSが検出され、この独立復号開始位置情報DSがメモリ21に格納される。またこのメモリ21に格納された独立復号開始位置情報DSに基づいて、処理ブロック単位で、独立復号可能符号化データD2から画像データD3が復号される。
Therefore, in this embodiment, in the
その結果、図30との対比により図1に示すように、この実施例では、復号した画像データDA2に代えて、独立復号可能符号化データD2及び独立復号開始位置情報DSをメモリ21に格納すれば良いことにより、メモリ21の容量を小容量化することができる。またメモリ21のアクセス頻度を低減することができ、処理時間を短縮し、さらには画像データの処理に必要な帯域、消費電力を低減することができる。図1の例では、従来、全体で46〔MB〕必要であったデータ転送量を15〔MB〕とすることができ、従来に比して格段的に処理速度を向上し、処理に必要な帯域、消費電力を低減することができる。
As a result, as shown in FIG. 1 in comparison with FIG. 30, in this embodiment, the independently-decodable encoded data D2 and the independent decoding start position information DS are stored in the
より具体的に、ディジタルスチルカメラ11において、符号化データD1は、符号化処理単位であるMCUの1個又は複数個による独立復号化単位で、リスタートマーカーによる区切りコードが設定される。またDC差分の係数データが置き換えられて独立復号可能符号化データD2が生成され(図3及び図5)、この独立復号可能符号化データD2が1画面分、メモリ21に格納される(図4)。
More specifically, in the digital
ディジタルスチルカメラ11では、メモリ21に記録された独立復号開始位置情報DSに基づいて、処理ブロックを構成する符号化処理単位の独立復号可能符号化データD2が、メモリ21から読み出されて順次画像データD3が復号される。またこの復号された画像データが画像処理部19で順次リサイズ処理される。
In the digital
この一連の画像データの処理において、ディジタルスチルカメラ11では、フィルタリング処理に最低必要なサンプル数を、独立復号化単位で切り上げた幅以上、隣接する処理ブロックが重なり合って重複処理領域を形成するように、連続する処理ブロックが設定される。その結果、ディジタルスチルカメラ11では、この重複処理領域については、各処理ブロックの処理において、繰り返し画像データD3が復号されてフィルタリング処理されることになり、画像処理部19のフィルタリング処理に必要な余分なサンプル数が確保され、フィルタリング処理による画質劣化が防止される。
In this series of image data processing, the digital
またディジタルスチルカメラ11では、この重複処理領域を独立して復号可能に、重複処理領域に独立復号化単位が1個以上設定されて、重複処理領域を繰り返し復号する際に、無駄に画像データを復号化しないように設定される。その結果、ディジタルスチルカメラ11では、フィルタリング処理に必要なサンプル数を確保して画像データD3をフィルタリング処理する場合に、極力、画像データD3を無駄に復号しないように設定され、効率良く画像データを処理することができる。
Also, in the digital
(5)実施例の効果
以上の構成によれば、1画面を分割して形成される独立復号化単位毎に独立して復号可能に、符号化データを独立復号可能符号化データに変換してメモリに格納した後、1つ又は複数の独立復号化単位による処理ブロック単位で、画像データを復号、処理することにより、従来に比して符号化処理された画像データを表示等する際の処理時間を短縮し、画像データの処理に必要な帯域、消費電力を低減することができる。
(5) Advantages of the embodiment According to the above configuration, the encoded data is converted into the independently decodable encoded data so that it can be independently decoded for each independent decoding unit formed by dividing one screen. Processing when displaying image data encoded as compared with the prior art by decoding and processing the image data in units of processing blocks by one or more independent decoding units after storage in the memory The time can be shortened, and the bandwidth and power consumption required for processing image data can be reduced.
また独立復号可能符号化データにおける独立復号化単位の開始位置の情報、及び又は各独立復号化単位のデータ長による情報による独立復号化単位の開始位置情報をメモリに記録して保持し、この開始位置情報に基づいて、処理ブロック単位で、メモリに格納された独立復号可能符号化データを処理することにより、独立復号化単位毎に独立して復号可能な可変長の独立復号可能符号化データを処理ブロック単位でメモリから読み出して処理することができる。 Also, the start position information of the independent decoding unit in the independently decodable encoded data and / or the start position information of the independent decoding unit based on the information based on the data length of each independent decoding unit is recorded in the memory and retained. Based on the position information, by processing the independently decodable encoded data stored in the memory in units of processing blocks, variable length independently decodable encoded data that can be decoded independently for each independent decoding unit Data can be read from the memory and processed in units of processing blocks.
また符号化データに区切りコードを設定すると共に、この区切りコードの設定に対応するように符号化データの符号を置き換えて独立復号可能符号化データを生成することにより、JPEG方式等による符号化データを独立復号可能符号化データに変換することができる。 In addition, by setting a delimiter code in the encoded data, and replacing the code of the encoded data so as to correspond to the setting of the delimiter code and generating independently decodable encoded data, It can be converted into independently decodable encoded data.
より具体的には、DC差分による符号化処理の開始位置を示すリスタートマーカーにより区切りコードを設定することにより、JPEG方式による符号化データを独立復号可能符号化データに変換することができる。 More specifically, by setting a delimiter code with a restart marker indicating the start position of the encoding process based on DC difference, encoded data according to the JPEG method can be converted into encoded data that can be independently decoded.
また所定タップ数のフィルタによりフィルタリング処理して画像データを処理する場合に、このフィルタリング処理に最低必要な余分のサンプル数を、独立復号化単位で切り上げた幅以上、隣接する処理ブロックが重なり合って重複処理領域が形成されるように処理ブロックを設定することにより、フィルタリング処理に最低必要なサンプル数を確保してフィルタリングの処理を実行することができ、処理結果における画質劣化を確実に防止することができる。 In addition, when processing image data by filtering using a filter with a predetermined number of taps, the adjacent processing blocks overlap each other by a width equal to or more than the width obtained by rounding up the minimum number of extra samples necessary for this filtering processing in units of independent decoding. By setting the processing block so that the processing area is formed, the filtering process can be executed while ensuring the minimum number of samples necessary for the filtering process, and the image quality deterioration in the processing result can be surely prevented. it can.
またこの重複処理領域の幅が、独立復号化処理単位の1個以上の幅となるように設定することにより、この重複処理領域を独立して繰り返し復号することができ、重複部分を各処理ブロックで繰り返し処理してフィルタリング処理に最低必要なサンプル数を確保する場合に、余分な画像データの処理を低減することができる。 In addition, by setting the width of the overlapping processing area to be one or more widths of the independent decoding processing unit, the overlapping processing area can be independently and repeatedly decoded. If the minimum number of samples necessary for the filtering process is ensured by repeating the above process, it is possible to reduce the processing of extra image data.
図11は、図1との対比により本発明の実施例2のディジタルスチルカメラの構成を示すブロック図である。この実施例2のディジタルスチルカメラ31は、この図11に示す復号部12、画像処理部19の構成が異なる点を除いて、実施例1のディジタルスチルカメラ11と同一に構成される。
FIG. 11 is a block diagram showing the configuration of the digital still camera according to the second embodiment of the present invention in comparison with FIG. The digital
ここでこのディジタルスチルカメラ31において、復号部12、画像処理部19は、メモリ21に格納された独立復号可能符号化データD2の復号処理、画像処理を繰り返し、ディスプレイ14に特殊効果の画像を表示する。ここでこの特殊効果の画像は、この復号部12、画像処理部19における繰り返しの処理に対応して徐々に変化する画像であり、動きのある画像である。具体的に、この特殊効果の処理は、例えば図12に示すように符号化データD1による画像を徐々に拡大、縮小して表示する処理、図13に示すように符号化データD1による画像を徐々にズーミングする処理、図14に示すように、ワイプして符号化データD1Aによる画像から符号化データD1Bによる画像に表示を切り換える処理、符号化データによる画像を徐々にぼかす処理等である。
Here, in the digital
このディジタルスチルカメラ31は、ユーザーがこれら特殊効果による表示を指示すると、符号変換部17により独立復号可能符号化データD2を生成してメモリ21に格納する。また画像処理部19の処理ブロック単位で、このメモリ21に格納した独立復号可能符号化データD2を復号部12で読み出して復号し、画像処理部19で画像処理してメモリ21に格納する。ディジタルスチルカメラ31では、ユーザーの選択した特殊効果に応じて画像処理部19における処理が徐々に切り換えられて、復号部12、画像処理部19の処理が複数フレーム繰り返され、また処理結果の画像データD4がメモリ21に上書き保存される。
In the digital
具体的に、拡大、縮小処理、ズーミング処理、ぼかす処理等では、徐々に画像処理部19におけるフィルタ係数が切り換えられて、独立復号可能符号化データD2が繰り返し処理される。
Specifically, in the enlargement / reduction process, zooming process, blurring process, and the like, the filter coefficients in the
これに対してワイプの処理では、図15に示すように、事前の処理として、ワイプ開始時に表示する符号化データD1Aを独立復号可能符号化データD2に変換してメモリ21に格納する。またこの独立復号可能符号化データD2から画像データD3を復号して画像処理部19でリサイズし、処理結果の画像データD4をメモリ21に格納してディスプレイ14で表示する。また続いてワイプにより表示する符号化データD1Bを独立復号可能符号化データD2に変換してメモリ21に格納する。
On the other hand, in the wipe process, as shown in FIG. 15, the encoded data D1A displayed at the start of the wipe is converted into the independently decodable encoded data D2 and stored in the
これらの事前の処理の後、ワイプの開始により、メモリ21に格納した符号化データD1Bによる独立復号可能符号化データD2を使用して画像データD3の復号、リサイズ処理を繰り返し、画像処理して得られる画像データをメモリ21に上書き保存する。なおこの画像データD3の復号、リサイズ処理の繰り返しでは、ワイプにより表示が変化する部分の処理ブロックのみを選択的に処理するようにして、処理を簡略化することができる。
After these pre-processes, the image data D3 is repeatedly decoded and resized using the encoded data D2 that can be independently decoded by the encoded data D1B stored in the
この実施例のように、画像処理部の特性を徐々に切り換えて、復号部及び画像処理部の処理を繰り返して動きのある画像を表示する場合に、従来に比して一段と画像データの処理に要する帯域、消費電力を低減して、特殊効果の画像を表示することができる。 As in this embodiment, when the characteristics of the image processing unit are gradually switched and the processing of the decoding unit and the image processing unit is repeated to display a moving image, the processing of the image data is further improved as compared with the conventional case. It is possible to display a special effect image by reducing the required bandwidth and power consumption.
ところで画像処理部19における処理には、フィルタリング処理を伴わない処理もある。具体的には、例えば何らリサイズすることなくディスプレイ14に画像を表示した状態で、実施例2について上述したようにワイプにより表示を切り換える場合、画像処理部19では、フィルタリング処理することなく、ワイプの処理に対応するメモリ21への上書き処理だけ実行することになる。従ってこの場合、フィルタリング処理の場合に必要な余分な画像データを復号する処理を省略することができる。
Incidentally, the processing in the
そこでこの実施例では、処理ブロックの設定を画像処理部19における処理に応じて切り換え、フィルタリング処理の場合には、上述の実施例1と同様に処理ブロック、独立復号化単位を設定する。これに対してフィルタリング処理が必要ない場合、図10(A)との対比により図16(A)に示すように、重複処理領域が発生しないように処理ブロックを設定する。なおこの場合、この処理ブロックの設定の切り換えに対応するように、独立復号化単位の設定を切り換えるようにしてもよい。また図10(B)との対比により図16(B)に示すように、処理ブロックの大きさは必要に応じて種々に設定することができる。
Therefore, in this embodiment, the setting of the processing block is switched according to the processing in the
この実施例のように、画像データの処理にフィルタリング処理を必要としない場合には、隣接する処理ブロックが重なり合わないように処理ブロックを設定することにより、一段と無駄な画像データの処理を省略して、画像データの処理に要する帯域、消費電力を低減することができる。 When filtering processing is not required for image data processing as in this embodiment, processing blocks are set so that adjacent processing blocks do not overlap, thereby further reducing unnecessary image data processing. Thus, the bandwidth and power consumption required for processing image data can be reduced.
図17は、図4との対比により本発明の実施例4のディジタルスチルカメラの構成を示すブロック図である。この実施例4のディジタルスチルカメラ41は、この図17に示す構成が異なる点を除いて、上述の実施例1のディジタルスチルカメラ11と同一に構成される。
FIG. 17 is a block diagram showing the configuration of a digital still camera according to the fourth embodiment of the present invention in comparison with FIG. The digital
このディジタルスチルカメラ41において、符号変換部47は、記録媒体13に記録された符号化データD1を読み出して独立復号可能符号化データD2、独立復号開始位置情報DSを生成し、メモリ21の所定領域21Aに格納する。また復号部42は、このメモリ21に格納した独立復号可能符号化データD2を処理ブロック単位で処理し、画像データD3を画像処理部19に出力する。
In the digital
符号変換部47及び復号部42は、この所定領域21Aをリングバッファとして使用して符号化データD1を順次処理する。
The
すなわち符号変換部47及び復号部42は、相互に処理の進行状況を通知し合い、符号変換部47は、復号部42からの進行状況の通知により、領域21Aにおける空き領域を監視する。符号変換部47は、この監視結果に基づいて、領域21Aにおいて、直前で独立復号可能符号化データD2の書込みを中止した箇所からの空き領域が所定値以上となると、一定データ量だけ、直前で書込みを中止した箇所から独立復号可能符号化データD2を領域21Aに格納する。またこの独立復号可能符号化データD2の格納に対応するように、独立復号開始位置情報DSをメモリ21に格納する。またメモリ21に格納した独立復号化単位を復号部42に通知して処理の進行状況を通知する。
That is, the
これに対して復号部42は、符号変換部47からの進行状況の通知により、領域21Aへの独立復号可能符号化データD2、独立復号開始位置情報DSの格納を監視し、領域21Aに格納された独立復号可能符号化データD2の処理ブロック単位の読み出しが可能となると、読出しが可能となった処理ブロックについて、独立復号可能符号化データD2を読み出して処理する。また処理の完了した独立復号化単位を符号変換部47に通知して進行状況を通知する。なおこの独立復号化単位による進行状況の通知に代えて、データ量により処理の進行状況を通知してもよい。
On the other hand, the
この実施例では、メモリをリングバッファとして使用することにより、一段とメモリの容量を少容量化することができる。 In this embodiment, the memory capacity can be further reduced by using the memory as a ring buffer.
図18は、図4との対比により本発明の実施例5のディジタルスチルカメラの構成を示すブロック図である。この実施例5のディジタルスチルカメラ51は、この図17に示す符号変換部17の構成が異なる点を除いて、上述の各実施例のディジタルスチルカメラと同一に構成される。
FIG. 18 is a block diagram showing the configuration of the digital still camera according to the fifth embodiment of the present invention in comparison with FIG. The digital
この実施例では、記録媒体13に記録された符号化データD1が独立復号可能符号化データである場合に、この符号化データD1に設定された独立復号化単位の大きさを、実施例1〜4で上述した画像処理部19の処理ブロックに適した大きさに変更して独立復号可能符号化データD2を生成する。なおここで記録媒体13に記録された符号化データD1が独立復号可能符号化データである場合は、例えば、撮像系で取得された画像データを符号化部で符号化して符号化データを生成する際に、一定の周期で区切りコードを設定してDC差分による符号化処理をリセットする場合、又は一旦、画像処理のためにメモリ21に記録した独立復号可能符号化データをバックアップ用のために記録媒体13に記録して保持する場合等である。
In this embodiment, when the encoded data D1 recorded on the
この場合、符号変換部17は、実施例1について上述したと同様に符号化データD1を処理して独立復号可能符号化データD2、独立復号開始位置情報DSを生成し、これら独立復号可能符号化データD2、独立復号開始位置情報DSをメモリ21に格納する。
In this case, the
この実施例のように、独立復号化単位の大きさを変更して独立復号可能符号化データを生成するようにしても、上述の実施例と同様の効果を得ることができる。 Even if the size of the independent decoding unit is changed to generate independently decodable encoded data as in this embodiment, the same effect as in the above-described embodiment can be obtained.
図19は、図18との対比により本発明の実施例6のディジタルスチルカメラの構成を示すブロック図である。この実施例5のディジタルスチルカメラ61は、この図19に示す符号変換部17の構成が異なる点を除いて、上述の各実施例のディジタルスチルカメラと同一に構成される。
FIG. 19 is a block diagram showing the configuration of the digital still camera according to the sixth embodiment of the present invention in comparison with FIG. The digital
この実施例は、記録媒体13に記録された符号化データD1が独立復号可能符号化データに変換されている場合であり、かつこの符号化データD1の独立復号化単位が画像処理部19における処理ブロックに対応する大きさの場合である。ディジタルスチルカメラ61は、符号変換部17で独立復号開始位置情報DSのみ生成してメモリ21に格納する。
In this embodiment, the encoded data D1 recorded on the
また復号部12は、このメモリ21の記録に対応して、メモリ21に記録された独立復号開始位置情報DSに基づいて記録媒体13をアクセスし、処理ブロック単位で画像データD3を復号する。なおこの画像データD3に係る処理が、実施例2について上述した特殊効果の処理等の場合には、記録媒体13に記録された独立復号可能符号化データによる符号化データD1をメモリ21に全て転送して保持した後、復号部12で処理するようにしてもよい。
Corresponding to the recording in the
この実施例のように、処理対象の符号化データが独立復号可能符号化データに変換されている場合には、単に独立復号開始位置情報のみ検出して処理するようにしても、上述の実施例と同様の効果を得ることができる。 As in this embodiment, when the encoded data to be processed is converted into the independently decodable encoded data, only the independent decoding start position information may be detected and processed. The same effect can be obtained.
図20は、図1との対比により本発明の実施例7のディジタルスチルカメラの構成を示すブロック図である。この実施例7のディジタルスチルカメラ71は、この図20に示す符号変換部77に関する構成が異なる点を除いて、上述の各実施例のディジタルスチルカメラと同一に構成される。
FIG. 20 is a block diagram showing the configuration of a digital still camera according to the seventh embodiment of the present invention in comparison with FIG. The digital
ここでこのディジタルスチルカメラ71において、符号変換部77には、復号部77Aで復号した画像データを処理する画像処理部77Bが設けられる。このディジタルスチルカメラ71は、この符号変換部77に内蔵の画像処理部77Bと画像処理部19とで処理を分担して符号化データD1を画像処理する。なおここでこの処理の分担は、例えばリサイズ等のフィルタリング処理と、実施例2について上述したワイプの処理に係るメモリ21への上書き処理とをそれぞれ画像処理部77Bと画像処理部19とで分担する場合である。なお以下においては、適宜、画像処理部77Bにおける画像処理を前処理と呼ぶ。
Here, in the digital
ここで図21(A)及び(B)に示すように、復号部77Aは、中央処理ユニット16の制御により、符号化データD1を繰り返し記録媒体13から読み出して画像データを復号化し、この復号化した画像データを画像処理部77Bに出力する。画像処理部77Bは、この復号部77Aから出力される画像データを前処理の処理ブロック単位で選択的に入力して画像処理し、その処理結果の画像データを出力する。なおここでこの前処理の処理ブロックは、独立復号化単位の1個又は複数個である。
Here, as shown in FIGS. 21A and 21B, the
ここでこの実施例において、前処理の処理ブロックは、例えば図21(A)及び(B)に示すように、1画面を水平方向に2等分して作成されているものとする。なおこの図21において、独立復号化単位を数字1〜16で示す。また上述したように画像処理部77Bでフィルタリングする場合は処理ブロックを重複させる必要があるが、ここでは簡単のため重複させないものとする。復号部77Aは、この図21の例の場合、始めに1画面分、画像データを復号して順次画像処理部77Bに出力する。画像処理部77Bは、この復号部77Aから出力される1画面分の画像データから左側の前処理の処理ブロックMBLAの画像データを選択的に入力して画像処理し、処理結果の画像データを符号化部77Cに出力する。続いて復号部77Aは、1画面分、画像データを復号して順次画像処理部77Bに出力し、画像処理部77Bは、この1画面分の画像データから右側の前処理の処理ブロックMBLBの画像データを選択的に入力して画像処理し、処理結果の画像データを符号化部77Cに出力する。
Here, in this embodiment, it is assumed that the processing block of the preprocessing is created by dividing one screen into two equal parts in the horizontal direction as shown in FIGS. 21 (A) and (B), for example. In FIG. 21, the independent decoding units are denoted by
符号化部77Cは、画像処理部77Bから出力される処理結果の画像データを順次符号化処理して独立復号可能符号化データD2Aを生成し、この生成した独立復号可能符号化データD2Aを生成順にメモリ21に格納する。またこの独立復号可能符号化データD2Aの独立復号開始位置情報DSAを生成し、生成順にメモリ21に格納する。従ってこの場合、図21との対比により図22に示すように、独立復号可能符号化データD2Aは、左側処理ブロックMBLAの独立復号化単位のデータが連続した後、続いて右側処理ブロックMBLBの独立復号化単位のデータが連続してメモリ21に格納される。なお図22は、独立復号開始位置情報DSAに符号長を適用した場合である。
The
復号部12は、このメモリ21に格納された独立復号開始位置情報DSAに基づいて、画像処理部19の処理ブロック単位で、メモリ21に格納された独立復号可能符号化データD2Aを読み出して画像データを復号し、画像処理部19に出力する。
Based on the independent decoding start position information DSA stored in the
この実施例のように、符号化データを独立復号可能符号化データに変換する際に、画像処理を実行するようにして、画像処理を分担すれば、後段の画像処理部における繰り返しの処理を省略することができ、全体の処理を簡略化することができる。すなわち実施例2の構成では、後段の画像処理部19でリサイズ処理、ワイプに係る処理を繰り返すことが必要であるものの、この実施例によれば、前処理で1回リサイズ処理するだけで、後段の画像処理部19での繰り返しのリサイズ処理を省略することができ、全体の処理を簡略化することができる。また前処理で画像縮小する場合は画像データが減少するので、メモリ量とバス帯域、消費電力の削減を図ることができる。なお画像処理部77Bから符号化部77Cへ図示しないバッファを介して直接転送する場合は、画像処理部77Bの処理ブロックは処理後、符号化部77Cの符号化単位となることが望ましい。
As in this embodiment, when the encoded data is converted into the independently decodable encoded data, the image processing is executed and the image processing is shared, so that iterative processing in the subsequent image processing unit is omitted. And the entire process can be simplified. That is, in the configuration of the second embodiment, the
図23は、図20との対比により本発明の実施例8のディジタルスチルカメラの構成を示すブロック図である。この実施例8のディジタルスチルカメラ81は、この図23に示す符号変換部87に関する構成が異なる点を除いて、実施例7のディジタルスチルカメラ71と同一に構成される。
FIG. 23 is a block diagram showing the configuration of the digital still camera according to the eighth embodiment of the present invention in comparison with FIG. The digital
この符号変換部87は、符号並べ替え部87Dが設けられる点を除いて、ディジタルスチルカメラ81の符号変換部77と同一に構成される。ここで符号並べ替え部87Dは、図24に示すように、ラスタ走査の順序で独立復号化単位が連続するように、メモリ21に格納した独立復号可能符号化データD2A、独立復号開始位置情報DSAを並べ替えて独立復号可能符号化データD2、独立復号開始位置情報DSを生成し、この独立復号可能符号化データD2、独立復号開始位置情報DSをメモリ21に格納する。
The
この実施例のように、符号化データを独立復号可能符号化データに変換する際に、画像処理を実行するようにして、前処理の処理ブロック単位で連続する独立復号可能符号化データをラスタ走査の順序で独立復号化単位が連続するように並べ替えることにより、独立復号可能符号化データをアクセスする処理を簡略化することができる。 As in this embodiment, when the encoded data is converted into independently decodable encoded data, image processing is executed, and the independent independently decodable encoded data in units of processing blocks in the preprocessing is raster scanned. By rearranging the independent decoding units in this order, the process of accessing the independently decodable encoded data can be simplified.
図25は、図23との対比により本発明の実施例9のディジタルスチルカメラの構成を示すブロック図である。この実施例9のディジタルスチルカメラ91は、この図25に示す符号変換部97に関する構成が異なる点を除いて、実施例8のディジタルスチルカメラ81と同一に構成される。
FIG. 25 is a block diagram showing the configuration of a digital still camera according to the ninth embodiment of the present invention in comparison with FIG. The digital
この符号変換部97は、符号化部77C及び符号並べ替え部87Dに代えて、符号化部97C及び符号変換部97Dが設けられる点を除いて、ディジタルスチルカメラ81の符号変換部87と同一に構成される。従ってこの符号変換部97は、復号部77Aで順次画像データが復号され、この復号された画像データが続く画像処理部77Bで処理ブロック単位で画像処理される。符号化部97Cは、通常のJPEGの手法により、画像処理部77Bから出力される画像データを符号化処理して中間処理の符号化データD1Aを生成し、この中間処理の符号化データD1Aをメモリ21に格納する。
The
符号変換部97Dは、この中間処理の符号化データD1Aを独立復号化可能符号化データD2に変換してメモリ21に格納する。またこのときラスタ走査の順序により順次、独立復号化単位が連続するように、独立復号化単位を並べ替えて独立復号可能符号化データD2を生成する。
The code conversion unit 97D converts the encoded data D1A of the intermediate processing into encoded data D2 that can be independently decoded, and stores it in the
この実施例のように、画像処理した画像データを通常の符号化データによりメモリに記録した後、独立復号可能符号化データに変換するようにして、この独立復号可能符号化データに変換すると同時に独立復号化単位を並べ替えるようにしても、実施例8と同様の効果を得ることができる。 As in this embodiment, after the image processed image data is recorded in the memory with the normal encoded data, it is converted into the independently decodable encoded data, and simultaneously converted into the independently decodable encoded data. Even if the decoding units are rearranged, the same effect as in the eighth embodiment can be obtained.
図26、図27、図28は、それぞれ図20、図23、図25との対比により本発明の他の実施例のディジタルスチルカメラの構成を示すブロック図である。これら図26、図27、図28のディジタルスチルカメラ101、111、121は、それぞれこれら図26、図27、図28の符号変換部107、117、127に関する構成が異なる点を除いて、対応する実施例7、8、9のディジタルスチルカメラ71、81、91と同一に構成される。
26, 27, and 28 are block diagrams showing the configuration of a digital still camera according to another embodiment of the present invention in comparison with FIGS. 20, 23, and 25, respectively. These
ここでこれら図26、図27、図28の符号変換部107、117、127は、復号部77Aに代えて、符号変換部107A、復号部107Bが設けられる点を除いて、対応するディジタルスチルカメラ71、81、91の符号変換部77、87、97と同一に構成される。
Here, the
この符号変換部107、117、127は、この符号変換部107Aにより符号化データD1を独立復号可能符号化データD2Bに変換してメモリ21に格納する。また独立復号可能符号化データD2Bの独立復号開始位置情報DSBを生成してメモリ21に格納する。
The
復号部107Bは、独立復号開始位置情報DSBに基づいて、画像処理部77Bの処理に係る前処理の処理ブロック単位で、メモリ21に格納した独立復号可能符号化データD2Bを読み出して画像データを復号し、この復号した画像データを画像処理部77Bに出力する。
Based on the independent decoding start position information DSB, the
この実施例では、符号化データを独立復号可能符号化データに変換する際に画像処理する場合に、事前に、独立復号可能符号化データに変換して画像処理することにより、一段と簡易な処理により画像処理することができる。 In this embodiment, when image processing is performed when converting encoded data into independently decodable encoded data, the image processing is performed by converting the encoded data into independently decodable encoded data in advance. Image processing can be performed.
なお上述の実施例においては、1画面を水平方向及び垂直方向に分割して独立復号化単位を設定する場合について述べたが、本発明はこれに限らず、画像処理部の構成に応じて水平方向又は垂直方向への分割を省略して独立復号化単位を設定するようにしてもよい。 In the above-described embodiment, the case where one screen is divided in the horizontal direction and the vertical direction and the independent decoding unit is set has been described. However, the present invention is not limited to this, and the horizontal decoding is performed according to the configuration of the image processing unit. The independent decoding unit may be set by omitting the division in the direction or the vertical direction.
また上述の実施例においては、1画面中で独立復号化単位を一定の大きさとする場合について述べたが、本発明はこれに限らず、例えば処理ブロックにおける重複処理領域とそれ以外の領域とで大きさを可変する場合等、1画面中で独立復号化単位の大きさを可変するようにしてもよい。このようにすれば、独立復号化単位の数を低減して一段とメモリの容量を小容量化することができる。 In the above-described embodiment, the case where the independent decoding unit is set to a certain size in one screen has been described. However, the present invention is not limited to this. For example, the overlapping processing area in the processing block and other areas are used. For example, when the size is changed, the size of the independent decoding unit may be changed in one screen. In this way, the number of independent decoding units can be reduced to further reduce the memory capacity.
また上述の実施例においては、独立復号化単位の1個又は複数個により処理ブロックを形成する場合について述べたが、本発明はこれに限らず、要は処理ブロックの大きさは独立復号化単位の大きさ以上とすれば、画像処理部の処理ブロックに対応する独立復号化単位をメモリから読み出して画像データを復号することができ、例えば処理ブロックの境界を跨ぐように独立復号化単位を設定するようにしてもよい。なおこのように処理ブロックの境界を跨ぐように独立復号化単位を設定した場合、独立符号化処理単位で画像データを復号して余分に得られる画像データを画像処理部における処理の前又は後で捨て去るようにしてもよい。 In the above-described embodiment, the case where the processing block is formed by one or a plurality of independent decoding units has been described. However, the present invention is not limited to this, and the size of the processing block is basically the independent decoding unit. If the size is larger than, the independent decoding unit corresponding to the processing block of the image processing unit can be read from the memory and the image data can be decoded. For example, the independent decoding unit is set so as to cross the boundary of the processing block. You may make it do. In addition, when the independent decoding unit is set so as to cross the boundary of the processing block in this way, the image data obtained by decoding the image data in the independent encoding processing unit is obtained before or after the processing in the image processing unit. It may be thrown away.
また上述の実施例においては、本発明をJPEG方式による静止画像の処理に適用する場合について述べたが、本発明はこれに限らず、JPEG方式以外の各種符号化処理による静止画像の処理に広く適用することができる。 In the above-described embodiments, the case where the present invention is applied to the processing of still images by the JPEG method has been described. However, the present invention is not limited to this, and is widely applied to still image processing by various encoding processes other than the JPEG method. Can be applied.
また上述の実施例においては、本発明を静止画像の処理に適用する場合について述べたが、本発明はこれに限らず、動画像の処理にも広く適用することができる。この場合、図29に示すように、例えばMPEG(Moving Picture Experts Group)方式の符号化データを処理する場合には、区切りコードにスライスコードを適用すると共に、このスライスコードの設定に対応するようにDC差分による符号化処理を中止して、独立復号可能符号化データを生成することができる。 In the above-described embodiments, the case where the present invention is applied to still image processing has been described. However, the present invention is not limited to this and can be widely applied to moving image processing. In this case, as shown in FIG. 29, for example, when processing MPEG (Moving Picture Experts Group) encoded data, a slice code is applied to the delimiter code, and this slice code setting is supported. It is possible to stop the encoding process using the DC difference and generate independently decodable encoded data.
また上述の実施例においては、本発明をディジタルスチルカメラに適用するについて述べたが、本発明はこれに限らず、各種画像表示装置、各種画像編集装置、携帯電話等の画像表示機能を有する各種情報処理装置等に広く適用することができる。また得られる画像サイズを変えて表示と同様の処理を行い、得られた画像を周知の各種符号化方式で符号化することにより画像の編集を行う場合等に適用することもできる。 In the above-described embodiments, the present invention is applied to a digital still camera. However, the present invention is not limited to this, and various image display functions such as various image display devices, various image editing devices, and mobile phones can be used. The present invention can be widely applied to information processing apparatuses and the like. Further, the present invention can be applied to the case where image processing is performed by changing the size of the obtained image, performing the same processing as the display, and encoding the obtained image by various known encoding methods.
また上述の実施例においては、本発明をハードウエアにより構成する場合について述べたが、本発明はこれに限らず、ソフトウエアにより構成することもできる。この場合、例えばコンピュータの画像処理プログラム等に適用することができ、この画像処理プログラム等については、インターネット等のネットワークを介したダウンロードにより提供してもよく、さらには光ディスク、磁気ディスク、メモリカード等の記録媒体に記録して提供するようにしてもよい。 In the above-described embodiments, the case where the present invention is configured by hardware has been described. However, the present invention is not limited to this, and may be configured by software. In this case, for example, the present invention can be applied to an image processing program of a computer. The image processing program or the like may be provided by downloading via a network such as the Internet, and further, an optical disc, a magnetic disc, a memory card, etc. It may be provided by being recorded on the recording medium.
本発明は、画像処理装置、画像処理方法、画像処理方法のプログラム及び画像処理方法のプログラムを記録した記録媒体に関し、例えばディジタルスチルカメラに適用することができる。 The present invention relates to an image processing apparatus, an image processing method, a program for the image processing method, and a recording medium on which the program for the image processing method is recorded, and can be applied to, for example, a digital still camera.
1、13……記録媒体、2、12、42、77A、107B……復号部、3、21……メモリ、4、19、77B……画像処理部、11、31、41、51、61、71、81、91、101、111、121……ディジタルスチルカメラ、14……ディスプレイ、17、47、77、87、97、97D、107、107A……符号変換部、77C、97C……符号化部、87D……符号並べ替え部
DESCRIPTION OF
Claims (16)
前記符号化データによる1画面を分割した独立復号化単位毎に、独立して前記符号化データによる画像データに復号可能に、前記符号化データを独立復号可能符号化データに変換する符号変換部と、
前記符号変換部から出力される前記独立復号可能符号化データを格納する記憶部と、
前記独立復号化単位以上の大きさの処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する復号部と、
前記復号部で復号された画像データを前記処理ブロック単位で処理する画像処理部とを備える
ことを特徴とする画像処理装置。 In an image processing apparatus for decoding and processing image data from variable-length encoded data,
A code conversion unit for converting the encoded data into independently decodable encoded data so as to be independently decodable into image data based on the encoded data for each independent decoding unit obtained by dividing one screen of the encoded data; ,
A storage unit for storing the independently decodable encoded data output from the code conversion unit;
A decoding unit that reads out the independently decodable encoded data stored in the storage unit and decodes the image data in units of processing blocks having a size greater than or equal to the independent decoding unit;
An image processing apparatus comprising: an image processing unit that processes the image data decoded by the decoding unit in units of the processing blocks.
前記独立復号可能符号化データにおける前記独立復号化単位の開始位置情報を出力して前記記憶部に格納し、
前記復号部は、
前記開始位置情報に基づいて、前記処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する
ことを特徴とする請求項1に記載の画像処理装置。 The code converter is
Outputting start position information of the independent decoding unit in the independently decodable encoded data and storing it in the storage unit;
The decoding unit
The image processing according to claim 1, wherein the image data is decoded by reading out the independently decodable encoded data stored in the storage unit in units of the processing block based on the start position information. apparatus.
前記符号化データに区切りコードを設定すると共に、前記区切りコードの設定に対応するように前記符号化データの符号を置き換えて前記独立復号可能符号化データを生成する
ことを特徴とする請求項1に記載の画像処理装置。 The code converter is
2. The encoded data is generated by setting a delimiter code in the encoded data and replacing the code of the encoded data so as to correspond to the setting of the delimiter code. The image processing apparatus described.
前記区切りコードが、DC差分による符号化処理の開始位置を示すリスタートマーカーである
ことを特徴とする請求項3に記載の画像処理装置。 The encoded data is encoded still image data;
The image processing apparatus according to claim 3, wherein the delimiter code is a restart marker indicating a start position of an encoding process based on a DC difference.
前記画像データを所定タップ数のフィルタによりフィルタリング処理して前記画像データを処理し、
前記処理ブロックは、
前記フィルタリング処理に最低必要なサンプル数を、前記独立復号化単位で切り上げた幅以上、隣接する処理ブロックが重なり合って、前記隣接する処理ブロックにおける処理で繰り返し画像データが処理される重複処理領域が形成されるように設定された
ことを特徴とする請求項1に記載の画像処理装置。 The image processing unit
Processing the image data by filtering the image data with a filter having a predetermined number of taps;
The processing block is
Adjacent processing blocks overlap each other by a minimum number of samples required for the filtering processing, rounded up by the independent decoding unit, and an overlapping processing region is formed in which image data is repeatedly processed in the processing in the adjacent processing blocks. The image processing apparatus according to claim 1, wherein the image processing apparatus is set to be configured as described above.
ことを特徴とする請求項5に記載の画像処理装置。 The image processing apparatus according to claim 5, wherein a width of the overlapping processing area is set to be at least one width of the independent decoding processing unit.
前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する処理を、複数フレーム繰り返し、
前記画像処理部は、
前記複数フレームで前記画像データを処理する特性を徐々に切り換えて、前記復号部で復号された画像データを処理する
ことを特徴とする請求項1に記載の画像処理装置。 The decoding unit
The process of reading the independently decodable encoded data stored in the storage unit and decoding the image data is repeated a plurality of frames,
The image processing unit
The image processing apparatus according to claim 1, wherein characteristics of processing the image data in the plurality of frames are gradually switched to process the image data decoded by the decoding unit.
隣接する前記処理ブロックで重なり合う領域が発生しないように、前記処理ブロックが設定された
ことを特徴とする請求項1に記載の画像処理装置。 The processing of the image processing unit is processing that does not require filtering processing,
The image processing apparatus according to claim 1, wherein the processing block is set so that an overlapping region does not occur between the adjacent processing blocks.
ことを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the storage unit is a memory that sequentially and cyclically stores the independently decodable encoded data.
ことを特徴とする請求項1に記載の画像処理装置。 The image processing according to claim 1, wherein the encoded data is encoded data capable of independently decoding image data for each decoding unit having a size different from that of the independent decoding unit. apparatus.
前記符号化データから画像データを復号する前処理の復号化部と、
前記前処理の復号化部で復号された画像データを画像処理する前処理の画像処理部と、
前記前処理の画像処理部で処理された前記画像データを符号化処理して前記独立復号可能符号化データを生成する前処理の符号化部とを有する
ことを特徴とする請求項1に記載の画像処理装置。 The code converter is
A preprocessing decoding unit for decoding image data from the encoded data;
A preprocessing image processing unit that performs image processing on the image data decoded by the preprocessing decoding unit;
The preprocessing encoding unit that generates the independently decodable encoded data by encoding the image data processed by the preprocessing image processing unit. Image processing device.
所定の前処理の処理ブロック単位で、前記前処理の復号化部から出力される画像データを選択的に入力して処理し、
前記符号変換部は、
前記前処理の画像処理部における前記前処理の処理ブロック単位の処理に応じた順序による前記前記独立復号可能符号化データを、ラスタ走査順に前記独立復号単位が連続する順序に並べ替える並べ替え部を有する
ことを特徴とする請求項11に記載の画像処理装置。 The preprocessing image processing unit includes:
Selectively input image data output from the preprocessing decoding unit in units of predetermined preprocessing blocks,
The code converter is
A rearrangement unit that rearranges the independently decodable encoded data in an order corresponding to the processing in units of the preprocessing block in the preprocessing image processing unit in an order in which the independent decoding units are consecutive in raster scanning order; The image processing apparatus according to claim 11, further comprising:
所定の前処理の処理ブロック単位で、前記前処理の復号化部から出力される画像データを選択的に入力して処理し、
前記前処理の符号化部は、
前記前処理の画像処理部で処理された前記画像データを符号化処理して、前記独立復号化単位毎に、独立して画像データを復号困難な中間処理の符号化データを生成した後、前記中間処理の符号化データを前記独立復号可能符号化データに変換する
ことを特徴とする請求項11に記載の画像処理装置。 The preprocessing image processing unit includes:
Selectively processing image data output from the preprocessing decoding unit in units of predetermined preprocessing blocks;
The preprocessing encoding unit includes:
The image data processed by the pre-processing image processing unit is encoded, and for each independent decoding unit, independently generated encoded data for intermediate processing that is difficult to decode the image data, The image processing apparatus according to claim 11, wherein encoded data of intermediate processing is converted into the independently decodable encoded data.
前記符号化データによる1画面を分割した独立復号化単位毎に、独立して前記符号化データによる画像データに復号可能に、前記符号化データを独立復号可能符号化データに変換する符号変換ステップと、
前記符号変換ステップから出力される前記独立復号可能符号化データを記憶部に格納する記憶ステップと、
前記独立復号化単位以上の大きさの処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する復号ステップと、
前記復号ステップで復号された画像データを前記処理ブロック単位で処理する画像処理ステップとを備える
ことを特徴とする画像処理方法。 In an image processing method for decoding and processing image data from variable-length encoded data,
A code conversion step for converting the encoded data into independently decodable encoded data so as to be independently decodable into image data based on the encoded data for each independent decoding unit obtained by dividing one screen of the encoded data; ,
A storage step of storing the independently decodable encoded data output from the code conversion step in a storage unit;
A decoding step of reading the independently decodable encoded data stored in the storage unit and decoding the image data in units of processing blocks having a size greater than or equal to the independent decoding unit;
An image processing method comprising: processing the image data decoded in the decoding step in units of the processing blocks.
前記符号化データによる1画面を分割した独立復号化単位毎に、独立して前記符号化データによる画像データに復号可能に、前記符号化データを独立復号可能符号化データに変換する符号変換ステップと、
前記符号変換ステップから出力される前記独立復号可能符号化データを記憶部に格納する記憶ステップと、
前記独立復号化単位以上の大きさの処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する復号ステップと、
前記復号ステップで復号された画像データを前記処理ブロック単位で処理する画像処理ステップとを備える
ことを特徴とする画像処理方法のプログラム。 In a program of an image processing method for decoding and processing image data from variable-length encoded data,
A code conversion step for converting the encoded data into independently decodable encoded data so as to be independently decodable into image data based on the encoded data for each independent decoding unit obtained by dividing one screen of the encoded data; ,
A storage step of storing the independently decodable encoded data output from the code conversion step in a storage unit;
A decoding step of reading the independently decodable encoded data stored in the storage unit and decoding the image data in units of processing blocks having a size greater than or equal to the independent decoding unit;
An image processing method comprising: processing the image data decoded in the decoding step in units of the processing blocks.
前記プログラムは、
前記符号化データによる1画面を分割した独立復号化単位毎に、独立して前記符号化データによる画像データに復号可能に、前記符号化データを独立復号可能符号化データに変換する符号変換ステップと、
前記符号変換ステップから出力される前記独立復号可能符号化データを記憶部に格納する記憶ステップと、
前記独立復号化単位以上の大きさの処理ブロック単位で、前記記憶部に格納された前記独立復号可能符号化データを読み出して前記画像データを復号する復号ステップと、
前記復号ステップで復号された画像データを前記処理ブロック単位で処理する画像処理ステップとを備える
ことを特徴とする画像処理方法のプログラムを記録した記録媒体。
In a recording medium recording a program of an image processing method for decoding and processing image data from variable-length encoded data,
The program is
A code conversion step for converting the encoded data into independently decodable encoded data so as to be independently decodable into image data based on the encoded data for each independent decoding unit obtained by dividing one screen of the encoded data; ,
A storage step of storing the independently decodable encoded data output from the code conversion step in a storage unit;
A decoding step of reading the independently decodable encoded data stored in the storage unit and decoding the image data in units of processing blocks having a size greater than or equal to the independent decoding unit;
An image processing step of processing the image data decoded in the decoding step in units of processing blocks. A recording medium on which a program of an image processing method is recorded.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007203792A JP2009038782A (en) | 2007-08-06 | 2007-08-06 | Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007203792A JP2009038782A (en) | 2007-08-06 | 2007-08-06 | Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009038782A true JP2009038782A (en) | 2009-02-19 |
| JP2009038782A5 JP2009038782A5 (en) | 2009-04-02 |
Family
ID=40440292
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007203792A Withdrawn JP2009038782A (en) | 2007-08-06 | 2007-08-06 | Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009038782A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011234363A (en) * | 2010-04-28 | 2011-11-17 | Hon Hai Precision Industry Co Ltd | Image processing system and method |
-
2007
- 2007-08-06 JP JP2007203792A patent/JP2009038782A/en not_active Withdrawn
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011234363A (en) * | 2010-04-28 | 2011-11-17 | Hon Hai Precision Industry Co Ltd | Image processing system and method |
| US9060171B2 (en) | 2010-04-28 | 2015-06-16 | Hon Hai Precision Industry Co., Ltd. | Image processing system and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6590925B2 (en) | How to create a video | |
| CN1056717C (en) | Decoder for a compressed digital video signal using a common memory for decoding and 2/3 pull-down conversion | |
| JP4151684B2 (en) | Encoding apparatus, encoding method, encoding program, and imaging apparatus | |
| JP4209631B2 (en) | Encoding device, decoding device, and compression / decompression system | |
| JP4455364B2 (en) | Resolution conversion method and apparatus | |
| US20070263939A1 (en) | Variable length decoding device, variable length decoding method and image capturing system | |
| JP2009038782A (en) | Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method | |
| JP4772607B2 (en) | Two-dimensional orthogonal transformation device, two-dimensional orthogonal transformation method, and imaging system | |
| JP2738136B2 (en) | Blocking device | |
| JP2009171311A (en) | Imaging apparatus | |
| JP2002101310A (en) | Filter processing apparatus and method | |
| JP7020782B2 (en) | Reproduction device and its control method | |
| JP2006203270A (en) | Image compression method and device | |
| JP4713957B2 (en) | Image processing device | |
| JP2005160021A (en) | Signal processing method and signal processing apparatus | |
| JP5731816B2 (en) | Image processing apparatus and image processing method | |
| JP2014187473A (en) | Image compression device and image processing system | |
| JP4124686B2 (en) | Image data processing device | |
| JP2009159315A (en) | Imaging method, imaging apparatus, and program | |
| JP3174080B2 (en) | Image recording and playback device | |
| JP2009200545A (en) | Image encoding device and image decoding device | |
| JP2005277758A (en) | Image decoding apparatus | |
| JP5186820B2 (en) | Encoding apparatus, encoding method, and encoding program | |
| JP4122753B2 (en) | Image processing device | |
| JP2758159B2 (en) | Image compression / decompression device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090129 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090331 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20090403 |
|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20101102 |