JP4374063B2 - Image processing apparatus, program, and storage medium - Google Patents
Image processing apparatus, program, and storage medium Download PDFInfo
- Publication number
- JP4374063B2 JP4374063B2 JP2008217777A JP2008217777A JP4374063B2 JP 4374063 B2 JP4374063 B2 JP 4374063B2 JP 2008217777 A JP2008217777 A JP 2008217777A JP 2008217777 A JP2008217777 A JP 2008217777A JP 4374063 B2 JP4374063 B2 JP 4374063B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- rectangular area
- encoding
- image
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、画像処理装置、プログラム及び記憶媒体に関する。 The present invention relates to an image processing apparatus, a program, and a storage medium.
画像入力技術及びその出力技術の進歩により、画像に対して高精細化の要求が、近年非常に高まっている。例えば、画像入力装置として、デジタルカメラ(Digital Camera)を例にあげると、300万以上の画素数を持つ高性能な電荷結合素子(CCD:Charge Coupled Device)の低価格化が進み、普及価格帯の製品においても広く用いられるようになってきた。そして、このピクセル数の増加傾向は、なおしばらくは続くと言われている。 Due to advances in image input technology and output technology, the demand for higher definition of images has increased greatly in recent years. For example, taking a digital camera as an example of an image input device, the price of a high-performance charge coupled device (CCD) having a number of pixels of 3 million or more has progressed, and the spread price range has increased. It has come to be widely used in products. And it is said that this increasing trend in the number of pixels will continue for a while.
一方、画像出力・表示装置に関しても、例えば、レーザプリンタ、インクジェットプリンタ、昇華型プリンタ等のハード・コピー分野における製品、そして、CRTやLCD(液晶表示デバイス)、PDP(プラズマ表示デバイス)等のフラットパネルディスプレイのソフト・コピー分野における製品の高精細化・低価格化は目を見張るものがある。 On the other hand, with regard to image output / display devices, for example, products in the hard copy field such as laser printers, ink jet printers, sublimation printers, and flats such as CRTs, LCDs (liquid crystal display devices), and PDPs (plasma display devices). The high definition and low price of products in the soft copy field of panel displays are remarkable.
こうした高性能・低価格な画像入出力製品の市場投入効果によって、高精細画像の大衆化が始まっており、今後はあらゆる場面で、高精細画像の需要が高まると予想されている。実際、パーソナルコンピュータ(Personal Computer)やインターネットをはじめとするネットワークに関連する技術の発達は、こうしたトレンドをますます加速させている。特に最近は、携帯電話やノートパソコン等のモバイル機器の普及速度が非常に大きく、高精細な画像を、あらゆる地点から通信手段を用いて伝送或いは受信する機会が急増している。 Due to the market launch of these high-performance, low-priced image input / output products, high-definition images have become popular, and it is expected that demand for high-definition images will increase in all situations. In fact, the development of technologies related to networks such as personal computers and the Internet is accelerating these trends. In particular, recently, mobile devices such as mobile phones and laptop computers have become very popular, and the opportunity to transmit or receive high-definition images from any point using communication means has increased rapidly.
これらを背景に、高精細画像の取扱いを容易にする画像圧縮伸長技術に対する高性能化或いは多機能化の要求は、今後ますます強くなっていくことは必至と思われる。 Against this background, it is inevitable that the demand for higher performance or multi-functionality for image compression / decompression technology that facilitates handling of high-definition images will become stronger in the future.
そこで、近年においては、こうした要求を満たす画像圧縮方式の一つとして、高圧縮率でも高画質な画像を復元可能なJPEG2000という新しい方式が規格化されつつある。かかるJPEG2000においては、画像を矩形領域(タイル)に分割することにより、少ないメモリ環境下で圧縮伸長処理を行うことが可能である。即ち、個々のタイルが圧縮伸長プロセスを実行する際の基本単位となり、圧縮伸長動作はタイル毎に独立に行うことができる。又、JPEG2000においては、一つの画像ファイル内で低解像度データと高解像度データとに分けることが可能になっている。 Thus, in recent years, a new method called JPEG2000, which can restore high-quality images even at a high compression rate, is being standardized as one of image compression methods that satisfy these requirements. In JPEG2000, it is possible to perform compression / decompression processing in a small memory environment by dividing an image into rectangular regions (tiles). That is, each tile becomes a basic unit for executing the compression / decompression process, and the compression / decompression operation can be performed independently for each tile. In JPEG2000, it is possible to separate low resolution data and high resolution data in one image file.
ところで、上述したようなJPEG2000はアルゴリズムが複雑になっており、符号化処理及び復号化処理に掛かる負荷が、従来のJPEGに比べて大きくなっている。例えば、JPEG2000の方式で圧縮された画像ファイルをサーバコンピュータ側にまとめて蓄積し、クライアントコンピュータ側で必要に応じてサーバコンピュータにアクセスしてJPEG2000の方式で圧縮された画像ファイルから低解像度データのみを引き取り、サムネイル表示処理を行うような場合であっても、サーバコンピュータに大きな負荷が掛かることになる。 By the way, the algorithm of JPEG 2000 as described above is complicated, and the load on the encoding process and the decoding process is larger than that of the conventional JPEG. For example, image files compressed in the JPEG2000 format are stored together on the server computer side, and the client computer side accesses the server computer as necessary to obtain only low-resolution data from the image files compressed in the JPEG2000 format. Even when taking over and performing thumbnail display processing, a heavy load is applied to the server computer.
本発明の目的は、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することができ、高速な処理を実現することができる画像処理装置、プログラム及び記憶媒体を提供することにある。 An object of the present invention is to provide an image processing apparatus, a program, and a storage medium that can distribute a processing load at the time of data creation or output such as data display / printing and can realize high-speed processing. is there.
請求項1記載の発明の画像処理装置は、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置において、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化手段と、この矩形領域別符号化手段により矩形領域毎に分割された圧縮符号を各々分散させて複数の記憶装置に記憶する分散記憶手段とを備え、前記分散記憶手段は、各記憶装置に対応する1つの階層の圧縮符号を記憶する。
The image processing apparatus according to
従って、矩形領域毎に分割された圧縮符号が各々分散されて記憶されることにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することが可能になるので、高速な処理が可能になる。 Accordingly, the compressed codes divided for each rectangular area are stored in a distributed manner, so that when the image is displayed, the rectangular area images may be combined and displayed. If only the area (specified by the user) needs to be displayed, only the compression code of the rectangular area included in the predetermined area (specified by the user) may be acquired to display the image. Since the processing load can be distributed at the time of output such as display / printing, high-speed processing becomes possible.
請求項2記載の発明の画像処理装置は、各種の電子機器と共にネットワーク接続される電子機器であり、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置において、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化手段と、この矩形領域別符号化手段により矩形領域毎に分割された圧縮符号を各電子機器の複数の記憶装置に分散させて記憶する分散記憶手段とを備え、前記分散記憶手段は、各記憶装置に対応する1つの階層の圧縮符号を記憶する。
An image processing apparatus according to a second aspect of the present invention is an electronic device connected to a network together with various electronic devices, and the pixel value is discrete wavelet transformed, quantized, and encoded for each rectangular area obtained by dividing the image data into one or a plurality. In the image processing apparatus that hierarchically compresses and encodes the image data according to the procedure of encoding, the encoding unit for each rectangular area that compresses and encodes the image data in a state in which the image data is divided for each rectangular area; Distributed storage means for distributing and storing the divided compression codes in a plurality of storage devices of each electronic device, and the distributed storage means stores one layer of compression codes corresponding to each storage device .
従って、矩形領域毎に分割された圧縮符号が各電子機器の記憶部に分散されて記憶されることにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを所定の電子機器の記憶部から取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を各電子機器に分散することが可能になるので、高速な処理が可能になる。 Therefore, the compression codes divided for each rectangular area are distributed and stored in the storage unit of each electronic device, so that when the image is displayed, the rectangular area images may be combined and displayed. When only a predetermined area (specified by the user) needs to be displayed instead of the entire image, only the compression code of the rectangular area included in the predetermined area (specified by the user) is acquired from the storage unit of the predetermined electronic device. Thus, it is sufficient to display an image, and the processing load can be distributed to each electronic device at the time of data creation or at the time of data display / printing, so that high-speed processing is possible.
請求項3記載の発明の画像処理装置は、請求項1又は2記載の画像処理装置において、該矩形領域別符号化手段は、該画像データの種別、該画像データの領域の種別、該画像データのソースである電子機器の種別、又は外部からの指示に応じたデコンポジション・レベルで該画像データを圧縮符号化することを特徴とする。 According to a third aspect of the present invention, there is provided the image processing device according to the first or second aspect, wherein the encoding means for each rectangular area includes the type of the image data, the type of the area of the image data, and the image data. The image data is compressed and encoded at a decomposition level in accordance with the type of electronic device that is the source of the source or an instruction from the outside.
従って、表示する際に要求される解像度に応じて画像データを圧縮符号化して記憶することが可能となる。 Accordingly, the image data can be compressed and stored in accordance with the resolution required for display.
請求項4記載の発明の画像処理装置は、請求項1又は2記載の画像処理装置において、該矩形領域別符号化手段は、該画像データの領域の種別に応じたデコンポジション・レベルで該画像データを圧縮符号化する。
請求項5記載の発明のプログラムは、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置が有するコンピュータにインストールされるか、或いは解釈されて実行されるプログラムであって、前記コンピュータに、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各々分散させて複数の記憶装置に記憶する分散記憶機能と、を実行させ、前記分散記憶機能は、各記憶装置に対応する1つの階層の圧縮符号を記憶する。
An image processing apparatus according to a fourth aspect of the present invention is the image processing apparatus according to the first or second aspect, wherein the encoding means for each rectangular area has the decomposition level corresponding to the type of the area of the image data. Data is compressed and encoded.
According to a fifth aspect of the invention, there is provided an image processing apparatus that hierarchically compresses and encodes pixel values for each rectangular area obtained by dividing image data into one or a plurality of parts by a procedure of discrete wavelet transform, quantization, and encoding. A program that is installed in a computer, or is interpreted and executed, and the computer encodes a rectangular area by an encoding function in a state where image data is divided into rectangular areas, and the rectangular areas. A distributed storage function that distributes the compressed codes divided for each rectangular area by the encoding function and stores the compressed codes in a plurality of storage devices, and the distributed storage function has one layer corresponding to each storage device. Store the compression code .
従って、矩形領域毎に分割された圧縮符号が各々分散されて記憶されることにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することが可能になるので、高速な処理が可能になる。 Accordingly, the compressed codes divided for each rectangular area are stored in a distributed manner, so that when the image is displayed, the rectangular area images may be combined and displayed. If only the area (specified by the user) needs to be displayed, only the compression code of the rectangular area included in the predetermined area (specified by the user) may be acquired to display the image. Since the processing load can be distributed at the time of output such as display / printing, high-speed processing becomes possible.
請求項6記載の発明のプログラムは、各種の電子機器と共にネットワーク接続される電子機器であり、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置が有するコンピュータにインストールされるか、或いは解釈されて実行されるプログラムであって、前記コンピュータに、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各電子機器の複数の記憶装置に分散させて記憶する分散記憶機能と、を実行させ、前記分散記憶機能は、各記憶装置に対応する1つの階層の圧縮符号を記憶する。
A program according to a sixth aspect of the present invention is an electronic device connected to a network together with various electronic devices, and pixel values are referred to as discrete wavelet transform, quantization, and encoding for each rectangular area obtained by dividing image data into one or more. A program that is installed in a computer included in an image processing apparatus that hierarchically compresses and encodes according to a procedure, or that is interpreted and executed. The computer encodes the image data in a state where image data is divided into rectangular areas. And a distributed storage function for distributing and storing compressed codes divided for each rectangular area by the rectangular area encoding function in a plurality of storage devices of each electronic device. The distributed storage function stores one layer of compressed code corresponding to each storage device .
従って、矩形領域毎に分割された圧縮符号が各電子機器の記憶部に分散されて記憶されることにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを所定の電子機器の記憶部から取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を各電子機器に分散することが可能になるので、高速な処理が可能になる。 Therefore, the compression codes divided for each rectangular area are distributed and stored in the storage unit of each electronic device, so that when the image is displayed, the rectangular area images may be combined and displayed. When only a predetermined area (specified by the user) needs to be displayed instead of the entire image, only the compression code of the rectangular area included in the predetermined area (specified by the user) is acquired from the storage unit of the predetermined electronic device. Thus, it is sufficient to display an image, and the processing load can be distributed to each electronic device at the time of data creation or at the time of data display / printing, so that high-speed processing is possible.
請求項7記載の発明のプログラムは、請求項5又は6記載のプログラムにおいて、該矩形領域別符号化機能は、該コンピュータに、該画像データの種別、該画像データの領域の種別、該画像データのソースである電子機器の種別、又は外部からの指示に応じたデコンポジション・レベルで該画像データを圧縮符号化させることを特徴とする。
According to a seventh aspect of the present invention, in the program according to the fifth or sixth aspect , the encoding function for each rectangular area causes the computer to classify the type of the image data, the type of the area of the image data, and the image data. The image data is compressed and encoded at a decomposition level in accordance with the type of electronic device that is the source of the information or an instruction from the outside.
従って、表示する際に要求される解像度に応じて画像データを圧縮符号化して記憶することが可能となる。 Accordingly, the image data can be compressed and stored in accordance with the resolution required for display.
請求項8記載の発明のプログラムは、請求項5又は6記載のプログラムにおいて、該矩形領域別符号化機能は、該画像データの領域の種別に応じたデコンポジション・レベルで該画像データを圧縮符号化する。
請求項9記載の発明の記憶媒体は、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置が有するコンピュータにインストールされるか、或いは解釈されて実行されるプログラムであって、前記コンピュータに、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各々分散させて複数の記憶装置に記憶する分散記憶機能と、を実行させるプログラムを記憶し、前記分散記憶機能は、各記憶装置に対応する1つの階層の圧縮符号を記憶する。
The program according to an eighth aspect of the present invention is the program according to the fifth or sixth aspect, wherein the encoding function for each rectangular area compresses the image data at a decomposition level corresponding to the type of the area of the image data. Turn into.
According to a ninth aspect of the present invention, there is provided a storage medium comprising: an image processing device that hierarchically compresses and encodes pixel values for each rectangular area obtained by dividing image data into one or a plurality of parts by a procedure of discrete wavelet transform, quantization, and encoding. A program that is installed on a computer that is installed, or is interpreted and executed, and the computer performs compression encoding on each rectangular area in a state where image data is divided into rectangular areas; and the rectangular area A distributed storage function for storing compressed codes divided for each rectangular area by a separate encoding function and storing the compressed codes in a plurality of storage devices is stored, and the distributed storage function corresponds to each storage device One layer of compressed code is stored .
従って、矩形領域毎に分割された圧縮符号が各々分散されて記憶されることにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することが可能になるので、高速な処理が可能になる。 Accordingly, the compressed codes divided for each rectangular area are stored in a distributed manner, so that when the image is displayed, the rectangular area images may be combined and displayed. If only the area (specified by the user) needs to be displayed, only the compression code of the rectangular area included in the predetermined area (specified by the user) may be acquired to display the image. Since the processing load can be distributed at the time of output such as display / printing, high-speed processing becomes possible.
請求項10記載の発明の記憶媒体は、各種の電子機器と共にネットワーク接続される電子機器であり、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置が有するコンピュータにインストールされるか、或いは解釈されて実行されるプログラムであって、前記コンピュータに、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各電子機器の複数の記憶装置に分散させて記憶する分散記憶機能と、を実行させ、前記分散記憶機能は、各記憶装置に対応する1つの階層の圧縮符号を記憶するプログラムを記憶する。
According to a tenth aspect of the present invention, there is provided a storage medium that is an electronic device connected to a network together with various electronic devices, wherein the pixel value is discrete wavelet transformed, quantized and encoded for each rectangular area obtained by dividing the image data into one or a plurality. This program is installed in a computer included in an image processing apparatus that performs hierarchical compression encoding in accordance with the procedure described above, or is interpreted and executed. The computer compresses image data divided into rectangular areas. The encoding function for each rectangular area to be encoded and the distributed storage function for storing the compressed code divided for each rectangular area by distributing to the plurality of storage devices of each electronic device by the encoding function for each rectangular area The distributed storage function stores a program for storing one layer of compression codes corresponding to each storage device .
従って、矩形領域毎に分割された圧縮符号が各電子機器の記憶部に分散されて記憶されることにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを所定の電子機器の記憶部から取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を各電子機器に分散することが可能になるので、高速な処理が可能になる。 Therefore, the compression codes divided for each rectangular area are distributed and stored in the storage unit of each electronic device, so that when the image is displayed, the rectangular area images may be combined and displayed. When only a predetermined area (specified by the user) needs to be displayed instead of the entire image, only the compression code of the rectangular area included in the predetermined area (specified by the user) is acquired from the storage unit of the predetermined electronic device. Thus, it is sufficient to display an image, and the processing load can be distributed to each electronic device at the time of data creation or at the time of data display / printing, so that high-speed processing is possible.
請求項11記載の発明の記憶媒体は、請求項9又は10記載の記憶媒体において、該矩形領域別符号化機能は、該コンピュータに、該画像データの種別、該画像データの領域の種別、該画像データのソースである電子機器の種別、又は外部からの指示に応じたデコンポジション・レベルで該画像データを圧縮符号化させることを特徴とする。
請求項12記載の記憶媒体は、請求項9又は10記載の記憶媒体において、該矩形領域別符号化機能は、該画像データの領域の種別に応じたデコンポジション・レベルで該画像データを圧縮符号化することを特徴とする、請求項1又は2記載の画像処理装置。
The storage medium according to an eleventh aspect of the present invention is the storage medium according to the ninth or tenth aspect , wherein the encoding function for each rectangular area causes the computer to classify the type of the image data, the type of the area of the image data, The image data is compressed and encoded at a decomposition level corresponding to the type of electronic device that is the source of the image data or an external instruction.
The storage medium according to
従って、表示する際に要求される解像度に応じて画像データを圧縮符号化して記憶することが可能となる。 Accordingly, the image data can be compressed and stored in accordance with the resolution required for display.
このように、本発明によれば、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することができ、高速な処理を実現することができる画像処理装置、プログラム及び記憶媒体を実現することができる。 As described above, according to the present invention, an image processing apparatus, a program, and a storage medium that can distribute processing load at the time of data creation or output such as data display / printing and realize high-speed processing. Can be realized.
本発明によれば、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することができ、高速な処理を実現することができる画像処理装置、プログラム及び記憶媒体を実現することができる。 According to the present invention, it is possible to realize an image processing apparatus, a program, and a storage medium that can distribute processing load at the time of data creation or output such as data display / printing and can realize high-speed processing. it can.
請求項1記載の発明の画像処理装置によれば、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置において、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化手段と、この矩形領域別符号化手段により矩形領域毎に分割された圧縮符号を各々分散させて記憶する分散記憶手段と、を備え、矩形領域毎に分割した圧縮符号を各々分散して記憶することにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することができるので、高速な処理を実現することができる。 According to the image processing apparatus of the first aspect of the present invention, an image in which pixel values are hierarchically compressed and encoded by a procedure of discrete wavelet transform, quantization, and encoding for each rectangular region obtained by dividing image data into one or a plurality of regions. In the processing apparatus, encoding means for each rectangular area that compresses and encodes image data divided into rectangular areas, and the compressed code divided for each rectangular area by the encoding means for each rectangular area is distributed and stored. Distributed storage means, and by compressing and storing compressed codes divided for each rectangular area, when displaying an image or the like, each rectangular area image may be synthesized and displayed, If it is only necessary to display a predetermined area (specified by the user) instead of the entire image, it is sufficient to display only the compression code of the rectangular area included in the predetermined area (specified by the user). , It is possible to distribute the processing load at the time of output of the display or printing of data creation and data, it is possible to realize high-speed processing.
請求項2記載の発明の画像処理装置によれば、各種の電子機器と共にネットワーク接続される電子機器であり、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置において、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化手段と、この矩形領域別符号化手段により矩形領域毎に分割された圧縮符号を各電子機器の記憶部に分散させて記憶する分散記憶手段と、を備え、矩形領域毎に分割した圧縮符号を各電子機器の記憶部に分散して記憶することにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを所定の電子機器の記憶部から取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を各電子機器に分散することができるので、高速な処理を実現することができる。 According to the image processing apparatus of the second aspect of the present invention, it is an electronic device connected to a network together with various electronic devices, and the pixel value is discrete wavelet transformed and quantized for each rectangular area obtained by dividing the image data into one or a plurality. In the image processing apparatus that hierarchically compresses and encodes according to the procedure of encoding and encoding, a rectangular area encoding unit that compresses and encodes image data in a state where the image data is divided into rectangular areas, and the rectangular area encoding unit Distributed storage means for storing the compressed code divided for each area in the storage unit of each electronic device, and storing the compressed code divided for each rectangular area in the storage unit of each electronic device Therefore, when displaying an image, etc., it is only necessary to combine and display each rectangular area image, and when only a predetermined area (specified by the user) is displayed instead of the entire image. Only the compression code of the rectangular area included in the fixed area (specified by the user) needs to be acquired from the storage unit of a predetermined electronic device and displayed as an image. At the time of data creation, data display / printing, etc. Since the processing load can be distributed to each electronic device, high-speed processing can be realized.
請求項3記載の発明の画像処理装置によれば、該矩形領域別符号化手段は、該画像データの種別、該画像データの領域の種別、該画像データのソースである電子機器の種別、又は外部からの指示に応じたデコンポジション・レベルで該画像データを圧縮符号化するので、表示する際に要求される解像度に応じて画像データを圧縮符号化して記憶することが可能となる。
According to the image processing apparatus of the invention described in
請求項4記載の発明のプログラムによれば、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置が有するコンピュータにインストールされるか、或いは解釈されて実行されるプログラムであって、前記コンピュータに、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各々分散させて記憶する分散記憶機能と、を実行させ、矩形領域毎に分割した圧縮符号を各々分散して記憶することにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することができるので、高速な処理を実現することができる。
According to the program of the invention described in
請求項5記載の発明のプログラムによれば、各種の電子機器と共にネットワーク接続される電子機器であり、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置が有するコンピュータにインストールされるか、或いは解釈されて実行されるプログラムであって、前記コンピュータに、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各電子機器の記憶部に分散させて記憶する分散記憶機能と、を実行させ、矩形領域毎に分割した圧縮符号を各電子機器の記憶部に分散して記憶することにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを所定の電子機器の記憶部から取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を各電子機器に分散することができるので、高速な処理を実現することができる。
According to the program of the invention described in
請求項6記載の発明のプログラムによれば、該矩形領域別符号化機能は、該プログラムに、該画像データの種別、該画像データの領域の種別、該画像データのソースである電子機器の種別、又は外部からの指示に応じたデコンポジション・レベルで該画像データを圧縮符号化させるので、表示する際に要求される解像度に応じて画像データを圧縮符号化して記憶することが可能となる。 According to the program of the invention described in claim 6, the encoding function for each rectangular area includes the type of the image data, the type of the area of the image data, and the type of the electronic device that is the source of the image data. Alternatively, since the image data is compression-encoded at a decomposition level according to an instruction from the outside, the image data can be compression-encoded and stored according to the resolution required for display.
請求項7記載の発明の記憶媒体によれば、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置が有するコンピュータにインストールされるか、或いは解釈されて実行されるプログラムであって、前記コンピュータに、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各々分散させて記憶する分散記憶機能と、を実行させるプログラムを記憶し、矩形領域毎に分割した圧縮符号を各々分散して記憶することにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することができるので、高速な処理を実現することができる。 According to the storage medium of the seventh aspect of the present invention, image processing for hierarchically compressing and encoding pixel values for each rectangular area obtained by dividing image data into one or a plurality of steps by the procedure of discrete wavelet transform, quantization and encoding A program that is installed in a computer included in the apparatus, or that is interpreted and executed. The computer encodes the image data by rectangular area in a state in which the image data is divided into rectangular areas. Stores a program that executes a distributed storage function for storing the compressed code divided for each rectangular area by the encoding function for each rectangular area, and stores the compressed code divided for each rectangular area. Thus, when displaying an image, etc., it is only necessary to synthesize and display each rectangular area image, and not a whole image but a predetermined (specified by the user) If only the area needs to be displayed, only the compression code of the rectangular area included in the predetermined area (specified by the user) may be acquired to display the image, and output during data creation, data display / printing, etc. Since the processing load can sometimes be distributed, high-speed processing can be realized.
請求項8記載の発明の記憶媒体によれば、各種の電子機器と共にネットワーク接続される電子機器であり、画像データを1又は複数に分割した矩形領域毎に画素値を離散ウェーブレット変換、量子化及び符号化という手順で階層的に圧縮符号化する画像処理装置が有するコンピュータにインストールされるか、或いは解釈されて実行されるプログラムであって、前記コンピュータに、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各電子機器の記憶部に分散させて記憶する分散記憶機能と、を実行させるプログラムを記憶し、矩形領域毎に分割した圧縮符号を各電子機器の記憶部に分散して記憶することにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを所定の電子機器の記憶部から取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を各電子機器に分散することができるので、高速な処理を実現することができる。 According to the storage medium of the invention described in claim 8, the electronic device is connected to a network together with various electronic devices, and the pixel value is converted into a discrete wavelet transform, a quantization and a pixel value for each rectangular area obtained by dividing the image data into one or a plurality. A program that is installed or interpreted and executed in a computer included in an image processing apparatus that hierarchically compresses and encodes in a procedure called encoding, and in which the image data is divided into rectangular areas in the computer And a distributed storage function for distributing and storing the compression codes divided for each rectangular area by the rectangular area encoding function in the storage unit of each electronic device. If you want to display images by storing compressed programs divided into rectangular areas and storing them in the storage unit of each electronic device Can be displayed by synthesizing and displaying each rectangular area image, and when it is only necessary to display not a whole image but a predetermined area (specified by the user), a rectangle included in the predetermined area (specified by the user) It is only necessary to display the image by acquiring only the compression code of the area from the storage unit of a predetermined electronic device, and the processing load can be distributed to each electronic device at the time of data creation or data display / printing output. High-speed processing can be realized.
請求項9記載の発明の記憶媒体によれば、該矩形領域別符号化機能は、該コンピュータに、該画像データの種別、該画像データの領域の種別、該画像データのソースである電子機器の種別、又は外部からの指示に応じたデコンポジション・レベルで該画像データを圧縮符号化させるので、表示する際に要求される解像度に応じて画像データを圧縮符号化して記憶することが可能となる。 According to the storage medium of the ninth aspect of the invention, the encoding function for each rectangular area causes the computer to classify the type of the image data, the type of the area of the image data, and the electronic device that is the source of the image data. Since the image data is compression-encoded at a type or a decomposition level according to an instruction from the outside, the image data can be compression-encoded and stored in accordance with the resolution required for display. .
以下に、本発明の各種実施の形態を説明する。 Various embodiments of the present invention will be described below.
本発明の第一の実施の形態を図1ないし図11に基づいて説明する。 A first embodiment of the present invention will be described with reference to FIGS.
最初に、本発明の前提となる「階層符号化アルゴリズム」及び「JPEG2000アルゴリズム」の概要について説明する。 First, an outline of the “hierarchical encoding algorithm” and the “JPEG2000 algorithm” which are the premise of the present invention will be described.
図1は、JPEG2000方式の基本となる階層符号化アルゴリズムを実現するシステムの機能ブロック図である。このシステムは、色空間変換・逆変換部101、2次元ウェーブレット変換・逆変換部102、量子化・逆量子化部103、エントロピー符号化・復号化部104、タグ処理部105の各機能ブロックにより構成されている。
FIG. 1 is a functional block diagram of a system that implements a hierarchical encoding algorithm that is the basis of the JPEG2000 system. This system includes color space transform /
このシステムが従来のJPEGアルゴリズムと比較して最も大きく異なる点の一つは変換方式である。JPEGでは離散コサイン変換(DCT:Discrete Cosine Transform)を用いているのに対し、この階層符号化アルゴリズムでは、2次元ウェーブレット変換・逆変換部102において、離散ウェーブレット変換(DWT:Discrete Wavelet Transform)を用いている。DWTはDCTに比べて、高圧縮領域における画質が良いという長所を有し、この点が、JPEGの後継アルゴリズムであるJPEG2000でDWTが採用された大きな理由の一つとなっている。
One of the biggest differences between this system and the conventional JPEG algorithm is the conversion method. In JPEG, discrete cosine transform (DCT) is used. In this hierarchical coding algorithm, the two-dimensional wavelet transform /
又、他の大きな相違点は、この階層符号化アルゴリズムでは、システムの最終段に符号形成を行うために、タグ処理部105の機能ブロックが追加されていることである。このタグ処理部105で、画像の圧縮動作時には圧縮データが符号列データとして生成され、伸長動作時には伸長に必要な符号列データの解釈が行われる。そして、符号列データによって、JPEG2000は様々な便利な機能を実現できるようになった。例えば、ブロック・ベースでのDWTにおけるオクターブ分割に対応した任意の階層(デコンポジション・レベル)で、静止画像の圧縮伸長動作を自由に停止させることができるようになる(後述する図3参照)。
Another major difference is that in this hierarchical encoding algorithm, a functional block of the
原画像の入出力部分には、色空間変換・逆変換101が接続される場合が多い。例えば、原色系のR(赤)/G(緑)/B(青)の各コンポーネントからなるRGB表色系や、補色系のY(黄)/M(マゼンタ)/C(シアン)の各コンポーネントからなるYMC表色系から、YUV或いはYCbCr表色系への変換又は逆変換を行う部分がこれに相当する。
In many cases, color space conversion /
次に、JPEG2000アルゴリズムについて説明する。 Next, the JPEG2000 algorithm will be described.
カラー画像は、一般に、図2に示すように、原画像の各コンポーネント111(ここではRGB原色系)が、矩形をした領域によって分割される。この分割された矩形領域は、一般にブロック或いはタイルと呼ばれているものであるが、JPEG2000では、タイルと呼ぶことが一般的であるため、以下、このような分割された矩形領域をタイルと記述することにする(図2の例では、各コンポーネント111が縦横4×4、合計16個の矩形のタイル112に分割されている)。このような個々のタイル112(図2の例で、R00,R01,…,R15/G00,G01,…,G15/B00,B01,…,B15)が、画像データの圧縮伸長プロセスを実行する際の基本単位となる。従って、画像データの圧縮伸長動作は、コンポーネント毎、又、タイル112毎に、独立に行われる。
As shown in FIG. 2, in a color image, each component 111 (RGB primary color system here) of an original image is generally divided by a rectangular area. This divided rectangular area is generally called a block or tile, but in JPEG2000, it is generally called a tile. Therefore, such a divided rectangular area is hereinafter referred to as a tile. (In the example of FIG. 2, each
画像データの符号化時には、各コンポーネント111の各タイル112のデータが、図1の色空間変換・逆変換部101に入力され、色空間変換を施された後、2次元ウェーブレット変換部102で2次元ウェーブレット変換(順変換)が施されて、周波数帯に空間分割される。
At the time of encoding image data, the data of each
図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では、各デコンポジション・レベルにおいて符号化の対象となるサブバンドを、網掛けで表してある。例えば、デコンポジション・レベル数を3としたとき、網掛けで示したサブバンド(3HL,3LH,3HH,2HL,2LH,2HH,1HL,1LH,1HH)が符号化対象となり、3LLサブバンドは符号化されない。
FIG. 3 shows subbands at each decomposition level when the number of decomposition levels is three. That is, the tile original image (0LL) (decomposition level 0) obtained by the tile division of the original image is subjected to two-dimensional wavelet transform, and the subbands (1LL, 1HL, 1LH shown in the decomposition level 1) , 1HH). Subsequently, the low-frequency component 1LL in this hierarchy is subjected to two-dimensional wavelet transformation to separate the subbands (2LL, 2HL, 2LH, 2HH) indicated by the
次いで、指定した符号化の順番で符号化の対象となるビットが定められ、図1に示す量子化・逆量子化部103で対象ビット周辺のビットからコンテキストが生成される。
Next, the bits to be encoded are determined in the specified encoding order, and the context is generated from the bits around the target bits by the quantization /
この量子化の処理が終わったウェーブレット係数は、個々のサブバンド毎に、「プレシンクト」と呼ばれる重複しない矩形に分割される。これは、インプリメンテーションでメモリを効率的に使うために導入されたものである。図4に示したように、一つのプレシンクトは、空間的に一致した3つの矩形領域からなっている。更に、個々のプレシンクトは、重複しない矩形の「コード・ブロック」に分けられる。これは、エントロピー・コーディングを行う際の基本単位となる。 The wavelet coefficients that have undergone the quantization process are divided into non-overlapping rectangles called “precincts” for each subband. This was introduced to use memory efficiently in implementation. As shown in FIG. 4, one precinct consists of three rectangular regions that are spatially coincident. Further, each precinct is divided into non-overlapping rectangular “code blocks”. This is the basic unit for entropy coding.
ウェーブレット変換後の係数値は、そのまま量子化し符号化することも可能であるが、JPEG2000では符号化効率を上げるために、係数値を「ビットプレーン」単位に分解し、画素或いはコード・ブロック毎に「ビットプレーン」に順位付けを行うことができる。 The coefficient values after wavelet transform can be quantized and encoded as they are, but in JPEG2000, in order to increase the encoding efficiency, the coefficient values are decomposed into “bit plane” units, and each pixel or code block is divided. Ranking can be performed on “bitplanes”.
ここで、図5はビットプレーンに順位付けする手順の一例を示す説明図である。図5に示すように、この例は、原画像(32×32画素)を16×16画素のタイル4つで分割した場合で、デコンポジション・レベル1のプレシンクトとコード・ブロックの大きさは、各々8×8画素と4×4画素としている。プレシンクトとコード・ブロックの番号は、ラスター順に付けられており、この例では、プレンシクトが番号0から3まで、コード・ブロックが番号0から3まで割り当てられている。タイル境界外に対する画素拡張にはミラーリング法を使い、可逆(5,3)フィルタでウェーブレット変換を行い、デコンポジション・レベル1のウェーブレット係数値を求めている。
Here, FIG. 5 is an explanatory diagram showing an example of a procedure for ranking the bit planes. As shown in FIG. 5, this example is a case where the original image (32 × 32 pixels) is divided into four 16 × 16 pixel tiles, and the size of the precinct and code block at the
又、タイル0/プレシンクト3/コード・ブロック3について、代表的な「レイヤ」構成の概念の一例を示す説明図も図5に併せて示す。変換後のコード・ブロックは、サブバンド(1LL,1HL,1LH,1HH)に分割され、各サブバンドにはウェーブレット係数値が割り当てられている。
An explanatory diagram showing an example of the concept of a typical “layer” configuration for
レイヤの構造は、ウェーブレット係数値を横方向(ビットプレーン方向)から見ると理解し易い。1つのレイヤは任意の数のビットプレーンから構成される。この例では、レイヤ0,1,2,3は、各々、1,3,1,3のビットプレーンから成っている。そして、LSB(Least Significant Bit:最下位ビット)に近いビットプレーンを含むレイヤ程、先に量子化の対象となり、逆に、MSB(Most Significant Bit:最上位ビット)に近いレイヤは最後まで量子化されずに残ることになる。LSBに近いレイヤから破棄する方法はトランケーションと呼ばれ、量子化率を細かく制御することが可能である。 The layer structure is easy to understand when the wavelet coefficient values are viewed from the horizontal direction (bit plane direction). One layer is composed of an arbitrary number of bit planes. In this example, layers 0, 1, 2, and 3 are made up of bit planes of 1, 3, 1, and 3, respectively. A layer including a bit plane close to LSB (Least Significant Bit) is subject to quantization first. Conversely, a layer close to MSB (Most Significant Bit) is quantized to the end. It will remain without being. A method of discarding from a layer close to the LSB is called truncation, and the quantization rate can be finely controlled.
図1に示すエントロピー符号化・復号化部104では、コンテキストと対象ビットから確率推定によって、各コンポーネント111のタイル112に対する符号化を行う。こうして、原画像の全てのコンポーネント111について、タイル112単位で符号化処理が行われる。最後にタグ処理部105は、エントロピー符号化・復号化部104からの全符号化データを1本の符号列データに結合すると共に、それにタグを付加する処理を行う。
The entropy encoding /
図6には、この符号列データの1フレーム分の概略構成を示している。この符号列データの先頭と各タイルの符号データ(bit stream)の先頭にはヘッダ(メインヘッダ(Main header)、タイル境界位置情報等であるタイルパートヘッダ(tile part header))と呼ばれるタグ情報が付加され、その後に、各タイルの符号化データが続く。尚、メインヘッダ(Main header)には、符号化パラメータや量子化パラメータが記述されている。そして、符号列データの終端には、再びタグ(end of codestream)が置かれる。又、図7は、符号化されたウェーブレット係数値が収容されたパケットをサブバンド毎に表わしたコードストリーム構造を示すものである。図7に示すように、タイルによる分割処理を行っても、或いはタイルによる分割処理を行わなくても、同様のパケット列構造を持つことになる。 FIG. 6 shows a schematic configuration for one frame of the code string data. Tag information called a header (main header, tile part header which is tile boundary position information, etc.) is provided at the head of the code string data and the head of the code data (bit stream) of each tile. Appended, followed by the encoded data for each tile. In the main header, coding parameters and quantization parameters are described. A tag (end of codestream) is placed again at the end of the code string data. FIG. 7 shows a code stream structure in which packets containing encoded wavelet coefficient values are represented for each subband. As shown in FIG. 7, the same packet string structure is obtained regardless of whether the tile division process is performed or the tile division process is not performed.
一方、符号化データの復号化時には、画像データの符号化時とは逆に、各コンポーネント111の各タイル112の符号列データから画像データを生成する。この場合、タグ処理部105は、外部より入力した符号列データに付加されたタグ情報を解釈し、符号列データを各コンポーネント111の各タイル112の符号列データに分解し、その各コンポーネント111の各タイル112の符号列データ毎に復号化処理(伸長処理)を行う。このとき、符号列データ内のタグ情報に基づく順番で復号化の対象となるビットの位置が定められると共に、量子化・逆量子化部103で、その対象ビット位置の周辺ビット(既に復号化を終えている)の並びからコンテキストが生成される。エントロピー符号化・復号化部104で、このコンテキストと符号列データから確率推定によって復号化を行い、対象ビットを生成し、それを対象ビットの位置に書き込む。このようにして復号化されたデータは周波数帯域毎に空間分割されているため、これを2次元ウェーブレット変換・逆変換部102で2次元ウェーブレット逆変換を行うことにより、画像データの各コンポーネントの各タイルが復元される。復元されたデータは色空間変換・逆変換部101によって元の表色系の画像データに変換される。
On the other hand, when the encoded data is decoded, the image data is generated from the code string data of each
以上が、「JPEG2000アルゴリズム」の概要である。 The above is the outline of the “JPEG2000 algorithm”.
以下、本発明の第一の実施の形態について説明する。尚、ここでは、JPEG2000を代表とする画像圧縮伸長技術に関する例について説明するが、言うまでもなく、本発明は以下の説明の内容に限定されるものではない。 Hereinafter, a first embodiment of the present invention will be described. Here, an example relating to an image compression / decompression technique represented by JPEG2000 will be described, but it goes without saying that the present invention is not limited to the contents of the following description.
本実施の形態のサーバコンピュータ及びクライアントコンピュータは、そのコンピュータにインストールされるか、或いは解釈されて実行される画像処理プログラムによって動作制御されて各種の画像処理を実行する。本実施の形態では、そのような画像処理プログラムを記憶する記憶媒体も紹介する。 The server computer and the client computer according to the present embodiment execute various types of image processing by being controlled by an image processing program that is installed in the computer or interpreted and executed. In this embodiment, a storage medium for storing such an image processing program is also introduced.
図8は、本実施の形態におけるシステム構築例を示す模式図である。 FIG. 8 is a schematic diagram showing an example of system construction in the present embodiment.
本実施の形態の画像データ処理システムでは、画像処理装置であるサーバコンピュータ2にLAN(Local Area Network)等のネットワーク3を介してクライアントコンピュータ4が複数台接続されたサーバクライアントシステム1を想定する。このサーバクライアントシステム1は、スキャナやデジタルカメラ等の画像入力装置5及びプリンタ等の画像出力装置6をネットワーク3上でシェアし得る環境が整えられている。又、ネットワーク3上には、マルチファンクションペリフェラルと称されるMFP(Multi-Function Peripheral)7が接続され、このMFP7が画像入力装置5や画像出力装置6として機能するように環境が構築されていても良い。即ち、サーバコンピュータ2、クライアントコンピュータ4、画像入力装置5、画像出力装置6、MFP7は、電子機器を構成するものである。
The image data processing system according to the present embodiment assumes a
このようなサーバクライアントシステム1は、例えばイントラネット8を介して別のサーバクライアントシステム1とのデータ通信可能に構築され、インターネット通信網9を介して外部環境とデータ通信可能に構築されている。
Such a
尚、クライアントコンピュータ4としては、パーソナルコンピュータ(PC)、携帯情報端末装置(PDA)、携帯電話等の情報端末装置が適用可能である。又、MFP7がクライアントコンピュータ4として機能するものであっても良い。
As the
ここで、クライアントコンピュータ4について簡略的に説明する。ここで、図9はクライアントコンピュータ4を構成する各部の電気的接続を示すブロック図である。図9に示すように、クライアントコンピュータ4には、各部を集中的に制御するCPU(Central Processing Unit)、画像処理プログラムを含む各種プログラムを格納するROM(Read Only Memory)、CPUのワークエリアとして機能するRAM(Random Access Memory)等で構成される制御手段41が設けられており、この制御手段41は各種演算やデータ転送等を制御する。この制御手段41には、ネットワーク3とのデータの入出力制御を行う通信制御手段42や、各種プログラム及び各種データを保存するHDD(Hard Disk Drive)等の記憶装置46が接続されている。尚、各クライアントコンピュータ4によって記憶装置46に保存されるプログラムは異なっており、この記憶装置46に保存されるプログラムの違いによって、各クライアントコンピュータ4毎に特有の機能を発揮することになる。
Here, the
又、各クライアントコンピュータ4には、制御手段41によって制御されるCRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等の表示部43、入力部として機能するキーボードやマウスである入力部44、各種外部機器とのデータ接続を実行するインタフェース(I/F)45等が夫々設けられている。
Each
以下においては、本発明の特長的な機能を発揮する画像処理装置であるサーバコンピュータ2について説明する。
In the following, the
図10は、本実施の形態における画像処理装置であるサーバコンピュータ2を構成する各部の電気的接続を示すブロック図である。サーバコンピュータ2は、情報処理を行うCPU(Central Processing Unit)11、情報を格納するROM(Read Only Memory)12及びRAM(Random Access Memory)13等の一次記憶装置14、後述する圧縮符号を記憶する記憶部であるHDD(Hard Disk Drive)15等の二次記憶装置16、情報を保管したり外部に情報を配布したり外部から情報を入手するためのCD−ROMドライブ等のリムーバブルディスク装置17、ネットワーク3を介して画像入力装置5や外部の他のコンピュータと通信により情報を伝達するためのネットワークインターフェース18、処理経過や結果等を操作者に表示するCRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等の表示装置19、並びに操作者がCPU11に命令や情報等を入力するためのキーボード20、マウス等のポインティングディバイス21等から構成されており、これらの各部間でデータバス22を介して送受信されるデータをデータバス22に接続されたバスコントローラ(図示せず)が調停するようにしても良い。
FIG. 10 is a block diagram showing the electrical connection of each part constituting the
このようなサーバコンピュータ2では、ユーザが電源を投入するとCPU11がROM12内のローダーというプログラムを起動させ、HDD15よりオペレーティングシステムというコンピュータのハードウェアとソフトウェアとを管理するプログラムをRAM13に読み込み、このオペレーティングシステムを起動させる。このようなオペレーティングシステムは、ユーザの操作に応じてプログラムを起動したり、情報を読み込んだり、保存を行ったりする。オペレーティングシステムのうち代表的なものとしては、Windows(登録商標)、UNIX(登録商標)等が知られている。これらのオペレーティングシステム上で走る動作プログラムをアプリケーションプログラムと呼んでいる。
In such a
ここで、サーバコンピュータ2は、アプリケーションプログラムとして、画像処理プログラムをHDD15に記憶している。この意味で、HDD15は、画像処理プログラムを記憶する記憶媒体として機能する。
Here, the
又、一般的には、サーバコンピュータ2のHDD15等の二次記憶装置16にインストールされる動作プログラムは、CD−ROMやDVD−ROM等の光情報記録メディアやFD等の磁気記録メディア等に記録され、この記録された動作プログラムがHDD15等の二次記憶装置16にインストールされる。このため、CD−ROM等の光情報記録メディア、光磁気ディスク等の光磁気記録メディアやFD等の磁気記録メディア等の可搬性を有する記憶媒体も、画像処理プログラムを記憶する記憶媒体となり得る。更には、画像処理プログラムは、例えばネットワークインターフェース18を介して外部から取り込まれ、HDD15等の二次記憶装置16にインストールされても良い。
In general, the operation program installed in the
サーバコンピュータ2は、オペレーティングシステム上で動作する画像処理プログラムが起動すると、この画像処理プログラムに従い、CPU11が各種の演算処理を実行して各部を集中的に制御する。サーバコンピュータ2のCPU11が実行する各種の演算処理のうち、本実施の形態の特長的な処理について以下に説明する。
In the
ここで、サーバコンピュータ2のCPU11が実行する各種の演算処理により実現される機能について説明する。図11に示すように、画像処理装置であるサーバコンピュータ2においては、第1階層圧縮符号作成手段31、第2階層圧縮符号作成手段32、第3階層圧縮符号作成手段33、第1階層データ保存手段34、第2階層データ保存手段35、第3階層データ保存手段36の各機能が、CPU11が実行する各種の演算処理により実現されている。尚、リアルタイム性が重要視される場合には、処理を高速化する必要がある。そのためには、論理回路(図示せず)を別途設け、論理回路の動作により各種機能を実現するようにするのが望ましい。
Here, functions realized by various arithmetic processes executed by the
第1階層圧縮符号作成手段31、第2階層圧縮符号作成手段32、第3階層圧縮符号作成手段33は、概略的には、画像入力装置5等から入力された画像データをJPEG2000アルゴリズムに従って圧縮符号化するものである。JPEG2000アルゴリズムに従った圧縮処理については、図1で示した空間変換・逆変換部101、2次元ウェーブレット変換・逆変換部102、量子化・逆量子化部103、エントロピー符号化・復号化部104、タグ処理部105の説明において前述したので、ここでの説明は省略する。JPEG2000アルゴリズムに従った圧縮処理によれば、離散ウェーブレット変換(DWT)におけるオクターブ分割に対応した階層毎に圧縮符号を作成することになる。尚、本実施の形態においては、3階層の圧縮符号を作成する。
The first hierarchy compression code creation means 31, the second hierarchy compression code creation means 32, and the third hierarchy compression code creation means 33 roughly compress image data input from the
第1階層圧縮符号作成手段31は、最上位階層(第1階層)の圧縮符号を作成すると共に、離散ウェーブレット変換により帯域分解されたLL成分の多値画像を下位階層の圧縮符号を作成する第2階層圧縮符号作成手段32へと渡す。又、第2階層圧縮符号作成手段32は、第2階層の圧縮符号を作成すると共に、離散ウェーブレット変換により帯域分解されたLL成分の多値画像を下位階層の圧縮符号を作成する第3階層圧縮符号作成手段33へと渡す。そして、第3階層圧縮符号作成手段33は、第3階層の圧縮符号を作成する。
The first hierarchy compression
即ち、第1階層圧縮符号作成手段31、第2階層圧縮符号作成手段32、第3階層圧縮符号作成手段33により、画像データを階層毎に分割した状態で圧縮符号化する階層別符号化手段の機能が実行される。
That is, the first hierarchical compression
尚、第1階層圧縮符号作成手段31、第2階層圧縮符号作成手段32、第3階層圧縮符号作成手段33で夫々作成された各階層の圧縮符号は、第1階層データ保存手段34、第2階層データ保存手段35、第3階層データ保存手段36に夫々渡される。
Note that the compression code of each layer created by the first layer compression
第1階層データ保存手段34は、第1階層圧縮符号作成手段31から渡された最上位階層(第1階層)の圧縮符号を、サーバコンピュータ2のHDD15に記憶する。
The first layer
第2階層データ保存手段35は、第2階層圧縮符号作成手段32から渡された第2階層の圧縮符号を、クライアントコンピュータ4の記憶装置46に記憶する。
The second layer
第3階層データ保存手段36は、第3階層圧縮符号作成手段33から渡された3階層の圧縮符号を、第2階層の圧縮符号が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶する。
The third tier data storage means 36 stores the three tier compression code passed from the third tier compression code creation means 33 in a storage device of the
即ち、第1階層データ保存手段34、第2階層データ保存手段35、第3階層データ保存手段36によって、階層毎に分割された圧縮符号を各々分散させて記憶する分散記憶手段の機能が実行される。 That is, the function of the distributed storage means for distributing and storing the compressed codes divided for each hierarchy is executed by the first hierarchy data storage means 34, the second hierarchy data storage means 35, and the third hierarchy data storage means 36. The
尚、圧縮符号作成手段及び階層データ保存手段は、夫々第3階層までに限定されるものではなく、第n階層(n=1,2,3,...)まで設けても良いことは言うまでもない。 Note that the compression code creating means and the hierarchical data storage means are not limited to the third hierarchy, but may be provided up to the nth hierarchy (n = 1, 2, 3,...). Yes.
図12は、第1〜第3階層データ保存手段34〜36が保存するデータの一例を説明する図である。図12は、図3に示すデコンポジション・レベル1〜3までの圧縮符号(サブバンド)を第1〜第3階層データ保存手段34〜36が重複して保存する場合を示す。図12に示すように、第1階層データ保存手段34は、デコンポジション・レベル1のサブバンド1LL,1HL,1LH,1HHをサーバコンピュータ2のHDD15に記憶し、第2階層データ保存手段35は、デコンポジション・レベル2のサブバンド2LL,2HL,2LH,2HHをクライアントコンピュータ4の記憶装置46に記憶し、第3階層データ保存手段36は、デコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHをデコンポジション・レベル2のサブバンド2LL,2HL,2LH,2HHが記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶する。この場合、デコンポジション・レベル1〜3のいずれのレベルの圧縮画像を復調する場合であっても、1つの記憶装置(HDD15又は記憶装置46)、即ち、1箇所の記憶装置から読み出される圧縮符号を復調することで所望の画像が得られるので、高速に所望の画像を得ることができる。
FIG. 12 is a diagram illustrating an example of data stored by the first to third hierarchical
図13は、第1〜第3階層データ保存手段34〜36が保存するデータの他の例を説明する図である。図13は、図3に示すデコンポジション・レベル1〜3までの圧縮符号(サブバンド)を第1〜第3階層データ保存手段34〜36が重複することなく保存する場合を示す。図13に示すように、第1階層データ保存手段34は、デコンポジション・レベル1のサブバンド1HL,1LH,1HHをサーバコンピュータ2のHDD15に記憶し、第2階層データ保存手段35は、デコンポジション・レベル2のサブバンド2HL,2LH,2HHをクライアントコンピュータ4の記憶装置46に記憶し、第3階層データ保存手段36は、デコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHをデコンポジション・レベル2のサブバンド2HL,2LH,2HHが記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶する。つまり、サブバンド2LLは、サブバンド3LL,3HL,3LH,3HHから生成できるので、別途記憶しておく必要はない。同様に、サブバンド1LLは、サブバンド2LL(3LL,3HL,3LH,3HH),2HL,2LH,2HHから生成できるので、別途記憶しておく必要はない。従って、この場合、圧縮符号を記憶するのに必要な記憶容量を、図12の場合に比べて減少させることができる。デコンポジション・レベル3のレベルの圧縮画像を復調する場合、1つの記憶装置(記憶装置46)、即ち、1箇所の記憶装置から読み出される圧縮符号を復調することで所望の画像が得られる。デコンポジション・レベル2のレベルの圧縮画像を復調する場合、2つの記憶装置(2つの記憶装置46)から読み出される圧縮符号を復調することで所望の画像が得られる。デコンポジション・レベル1のレベルの圧縮画像を復調する場合、2つの記憶装置(HDD15及び記憶装置46)から読み出される圧縮符号を復調することで所望の画像が得られる。
FIG. 13 is a diagram for explaining another example of data stored by the first to third hierarchical
従って、本実施の形態においては、サーバコンピュータ2のHDD15に高解像度の画像を保存すると共に、各クライアントコンピュータ4の記憶装置46に低解像度の画像を段階的に保存することになる。
Therefore, in the present embodiment, a high resolution image is stored in the
このようにネットワーク3上に分散しているサーバコンピュータ2やクライアントコンピュータ4(MFP7も含む)に、圧縮符号を階層毎に分散して記憶することにより、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することが可能になるので、高速な処理が可能になる。
In this way, the compression codes are distributed and stored for each layer in the
従って、表示・印刷・通信等の装置によって、アクセスする装置(サーバコンピュータ2やクライアントコンピュータ4(MFP7も含む))を切り替えることで処理を低減、高速な処理を行うことになる。
Therefore, the processing can be reduced and high-speed processing can be performed by switching the devices to be accessed (
例えば、携帯電話、PDAのように表示画面領域が限られている場合や、縮小画像表示(サムネイル表示)を行う場合は、階層ごとに分割してデータを保持している中の低解像度画像を記憶保持する装置(例えば、各クライアントコンピュータ4の記憶装置46)にアクセスをし、データを表示する。このとき、携帯電話やPDAのような表示機器(出力装置)からは、低解像度画像を記憶保持する装置(例えば、各クライアントコンピュータ4の記憶装置46)をあたかも第1階層のデータを記憶している装置として扱うことで、データの表示装置の表示プログラムは、パーソナルコンピュータ等の大きな画面を表示できる装置でも、小さな画面しか表示できない装置でもプログラムを変更することなく、利用することができる(例えば、第3階層を第1階層とみなして携帯電話等で表示する)。
For example, when the display screen area is limited, such as a mobile phone or PDA, or when a reduced image display (thumbnail display) is performed, the low-resolution image in which data is divided and stored for each layer is stored. The storage device (for example, the
尚、本実施の形態においては、ネットワーク3上に分散しているサーバコンピュータ2やクライアントコンピュータ4(MFP7も含む)に、圧縮符号を階層毎に分散して記憶するようにしたが、これに限るものではなく、1つの装置(例えば、サーバコンピュータ2)内に圧縮符号を階層毎に分散して記憶するようにしても構わない。
In the present embodiment, the compression codes are distributed and stored for each layer in the
又、ネットワーク3上に分散しているサーバコンピュータ2やクライアントコンピュータ4(MFP7も含む)に、圧縮符号を階層毎に分散して記憶するようにした場合、全ての装置に電源が入っていないと処理ができないという問題がある。これを解決するためには、処理を始める前に、全ての機器の電源が入っているかを確認する。入っていない場合は、処理を行わない等の判断をする。
In addition, when the compression codes are distributed and stored in each hierarchy in the
上記の如き、階層毎に分割された圧縮符号が各々分散されて記憶されることにより、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することが可能になるので、高速な処理が可能になる。 As described above, the compression codes divided for each layer are distributed and stored, so that it is possible to distribute the processing load at the time of data creation and at the time of output such as data display / printing. Processing becomes possible.
次に、本発明の第二の実施の形態について図14に基づいて説明する。尚、第一の実施の形態において説明した部分と同一部分については同一符号を用い、説明も省略する。本実施の形態は、第一の実施の形態とは、サーバコンピュータ2のCPU11が実行する各種の演算処理により実現される機能が異なるものである。
Next, a second embodiment of the present invention will be described with reference to FIG. The same parts as those described in the first embodiment are denoted by the same reference numerals, and description thereof is also omitted. This embodiment is different from the first embodiment in the functions realized by various arithmetic processes executed by the
本実施の形態のサーバコンピュータ2のCPU11が実行する各種の演算処理により実現される機能について説明する。図14に示すように、画像処理装置であるサーバコンピュータ2においては、タイル画像分割手段50、第1圧縮符号作成手段51、第2圧縮符号作成手段52、第3圧縮符号作成手段53、第1データ保存手段54、第2データ保存手段55、第3データ保存手段56の各機能が、CPU11が実行する各種の演算処理により実現されている。尚、リアルタイム性が重要視される場合には、処理を高速化する必要がある。そのためには、論理回路(図示せず)を別途設け、論理回路の動作により各種機能を実現するようにするのが望ましい。
Functions realized by various arithmetic processes executed by the
タイル画像分割手段50は、画像入力装置5等から入力された画像データを複数のタイル(小領域)に分割するものである。尚、説明の便宜上、本実施の形態においては、画像データは3つのタイル(小領域)に分割されるものとする。そして、分割された3つのタイル(小領域)は、夫々第1圧縮符号作成手段51、第2圧縮符号作成手段52、第3圧縮符号作成手段53に渡される。
The tile image dividing unit 50 divides image data input from the
第1圧縮符号作成手段51、第2圧縮符号作成手段52、第3圧縮符号作成手段53は、概略的には、タイル画像分割手段50から渡されたタイル画像をJPEG2000アルゴリズムに従って圧縮符号化するものである。JPEG2000アルゴリズムに従った圧縮処理については、図1で示した空間変換・逆変換部101、2次元ウェーブレット変換・逆変換部102、量子化・逆量子化部103、エントロピー符号化・復号化部104、タグ処理部105の説明において前述したので、ここでの説明は省略する。
The first compressed
即ち、タイル画像分割手段50、第1圧縮符号作成手段51、第2圧縮符号作成手段52、第3圧縮符号作成手段53により、画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化手段の機能が実行される。
That is, a rectangular area that is compressed and encoded in a state where the image data is divided into rectangular areas by the tile image dividing means 50, the first compressed
第1圧縮符号作成手段51、第2圧縮符号作成手段52、第3圧縮符号作成手段53で夫々作成された各階層の圧縮符号は、第1データ保存手段54、第2データ保存手段55、第3データ保存手段56に夫々渡される。
The compression codes of the respective layers created by the first compressed
第1データ保存手段54は、第1圧縮符号作成手段51から渡されたタイル画像の圧縮符号を、サーバコンピュータ2のHDD15に記憶する。
The first data storage unit 54 stores the compressed code of the tile image passed from the first compressed
第2データ保存手段55は、第2圧縮符号作成手段52から渡されたタイル画像の圧縮符号を、クライアントコンピュータ4の記憶装置46に記憶する。
The second
第3データ保存手段56は、第3圧縮符号作成手段53から渡されたタイル画像の圧縮符号を、第2データ保存手段55で用いたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶する。
The third
即ち、第1データ保存手段54、第2データ保存手段55、第3データ保存手段56によって、矩形領域毎に分割された圧縮符号を各々分散させて記憶する分散記憶手段の機能が実行される。
In other words, the first data storage unit 54, the second
尚、圧縮符号作成手段及びデータ保存手段は、夫々3個までに限定されるものではなく、n個(n=1,2,3,...)まで設けても良いことは言うまでもない。 Needless to say, the compression code creating means and the data storage means are not limited to three each, and may be provided up to n (n = 1, 2, 3,...).
図15は、タイル画像分割の一例を説明する図である。図15は、文書画像データを、タイル画像分割手段50が領域の種別(又は画像データの種別)に応じて3つのタイルT1〜T3に分割する様子を示す。この場合、領域の種別が「図(写真等)」であると、この領域をタイルT1とみなす。タイルT1は第1圧縮符号作成手段51により図3に示すデコンポジション・レベル1の圧縮符号(サブバンド)1LL,1HL,1LH,1HHに符号化され、第1データ保存手段54によりサーバコンピュータ2のHDD15に記憶される。領域の種別が「文字」であると、この領域をタイルT2とみなす。タイルT2は、第2圧縮符号作成手段52によりデコンポジション・レベル2のサブバンド2LL,2HL,2LH,2HHに符号化され、第2データ保存手段55によりクライアントコンピュータ4の記憶装置46に記憶される。又、領域の種別が「タイトル」であると、この領域をタイルT3とみなす。タイルT3は、第3圧縮符号作成手段53によりデコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHに符号化され、第3データ保持手段56によりタイルT2の圧縮符号が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶される。この場合、タイルT1〜T3の圧縮符号を記憶するのに必要な記憶容量を、小さく抑えることができる。
FIG. 15 is a diagram illustrating an example of tile image division. FIG. 15 shows how the tile image dividing unit 50 divides document image data into three tiles T1 to T3 according to the type of area (or the type of image data). In this case, if the area type is “figure (photograph, etc.)”, this area is regarded as a tile T1. The tile T1 is encoded by the first compression
図16は、領域の種別に応じた圧縮符号の保存を説明するフローチャートである。図16に示す処理は、サーバコンピュータ2のCPU11により行われる。図16において、ステップS1は、保存するべき文書画像データの領域の種別が「タイトル」、「文字」又は「図(写真等)」のいずれかであるかを判定する。領域の種別の判定は、ユーザがクライアントコンピュータ4の入力部44から入力した領域の種別に関する情報に基づいて判定したり、文書画像内の領域の位置に基づいて判定したり、文書画像データに付加された各領域の種別を示すラベルに基づいて判定する等の、判定周知の方法で判定可能である。領域の種別が「図(写真等)」であると判定されると、ステップS2は、領域をタイルT1とみなし、第1圧縮符号作成手段51により図3に示すデコンポジション・レベル1の圧縮符号(サブバンド)1LL,1HL,1LH,1HHに符号化し、第1データ保存手段54によりサーバコンピュータ2のHDD15に記憶する。領域の種別が「文字」であると判定されると、ステップS3は、領域をタイルT2とみなし、デコンポジション・レベル2のサブバンド2LL,2HL,2LH,2HHに符号化し、第2データ保存手段55によりクライアントコンピュータ4の記憶装置46に記憶する。領域の種別が「タイトル」であると判定されると、ステップS4は、領域をタイルT3とみなし、デコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHに符号化し、第3データ保持手段56によりタイルT2の圧縮符号が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶する。
FIG. 16 is a flowchart for explaining the storage of the compressed code corresponding to the type of region. The process shown in FIG. 16 is performed by the
図17は、クライアントコンピュータの種別に応じた圧縮符号の保存を説明するフローチャートである。図17に示す処理は、サーバコンピュータ2のCPU11により行われる。図17において、ステップS11は、保存するべき画像データのソースがパーソナルコンピュータ(PC)、携帯情報端末装置(PDA)又は携帯電話のいずれかであるかを判定する。画像データのソースが、PC、PDA及び携帯電話等の情報端末装置のどの種別であるかは、周知の手段で判別可能である。例えば、ソースの情報端末装置の種別は、画像データがどこのプロバイダを経由して送信されたものかを、メールアドレスから判別しても良い。又、ソースの情報端末装置の種別は、ダミーデータをソースへ送り、返信されてくる情報から通信速度を確認することで判別しても良い。尚、情報端末装置の種別は、装置自体の種類に限定されず、装置の機種や、装置の通信速度、表示画面領域の大きさ等に基づいて判別可能なものであっても良いことは言うまでもない。
FIG. 17 is a flowchart for explaining compression code storage according to the type of client computer. The process shown in FIG. 17 is performed by the
情報端末装置の種別が携帯電話であると判定されると、ステップS12は、保存するべき画像データの領域をタイルT1とみなし、第1圧縮符号作成手段51により図3に示すデコンポジション・レベル1の圧縮符号(サブバンド)1LL,1HL,1LH,1HHに符号化し、第1データ保存手段54によりサーバコンピュータ2のHDD15に記憶する。情報端末装置の種別がPDAであると判定されると、ステップS13は、保存するべき画像データの領域をタイルT2とみなし、デコンポジション・レベル2のサブバンド2LL,2HL,2LH,2HHに符号化し、第2データ保存手段55によりクライアントコンピュータ4の記憶装置46に記憶する。情報端末装置の種別がPCであると判定されると、ステップS14は、保存するべき画像データの領域をタイルT3とみなし、デコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHに符号化し、第3データ保持手段56によりタイルT2の圧縮符号が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶する。
If it is determined that the type of the information terminal device is a mobile phone, step S12 regards the area of the image data to be stored as the tile T1, and the first compression
図18は、ユーザの選択に応じた圧縮符号の保存を説明するフローチャートである。図18に示す処理は、サーバコンピュータ2のCPU11により行われる。図18において、ステップS21,S23は、保存するべき画像データの保存方法が高解像度、中解像度又は低解像度のいずれかであるかを、ユーザがクライアントコンピュータ4の入力部44から入力した保存方法の選択に関する指示に基づいて判定する。ステップS21において保存方法が高解像度であると判定されると(S21:YES)、ステップS22は、保存するべき画像データの領域をタイルT1とみなし、第1圧縮符号作成手段51により図3に示すデコンポジション・レベル1の圧縮符号(サブバンド)1LL,1HL,1LH,1HHに符号化し、第1データ保存手段54によりサーバコンピュータ2のHDD15に記憶する。ステップS23において画像データの保存方法が中解像度であると判定されると(S21:NO,S23:YES)、ステップS23は、保存するべき画像データの領域をタイルT2とみなし、デコンポジション・レベル2のサブバンド2LL,2HL,2LH,2HHに符号化し、第2データ保存手段55によりクライアントコンピュータ4の記憶装置46に記憶する。ステップS23において画像データの保存方法が低解像度であると判定されると(S23:NO)、ステップS24は、保存するべき画像データの領域をタイルT3とみなし、デコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHに符号化し、第3データ保持手段56によりタイルT2の圧縮符号が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶する。
FIG. 18 is a flowchart for explaining the storing of the compressed code according to the user's selection. The process shown in FIG. 18 is performed by the
図19は、領域の種別に応じた画像の読み出しを説明するフローチャートである。図19に示す処理は、サーバコンピュータ2のCPU11により行われる。図19において、ステップS31は、読み出すべき文書画像データの領域の種別が「図(写真等)」であるか否かを判定する。ステップS31の判定結果がYESであると、ステップS32は、領域をタイルT1とみなし、サーバコンピュータ2のHDD15に記憶された図3に示すデコンポジション・レベル1の圧縮符号(サブバンド)1LL,1HL,1LH,1HHを読み出して復号化し、ステップS33は、復号化された「図(写真等)」の画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。ステップS31の判定結果がNOであると、ステップS34は、読み出すべき文書画像データの領域の種別が「文字」であるか否かを判定する。ステップS34の判定結果がYESであると、ステップS35は、領域をタイルT2とみなし、クライアントコンピュータ4の記憶装置46に記憶されたデコンポジション・レベル2の圧縮符号(サブバンド)2LL,2HL,2LH,2HHを読み出して復号化し、ステップS36は、復号化された「文字」の画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。ステップS34の判定結果がNOであると、読み出すべき文書画像データの領域の種別が「タイトル」であると判定され、領域をタイルT3とみなす。ステップS37は、タイルT2の圧縮符号が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶されたデコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHを読み出して復号化し、ステップS38は、復号化された「タイトル」の画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。
FIG. 19 is a flowchart for explaining reading of an image according to the type of region. The process shown in FIG. 19 is performed by the
図20は、クライアントコンピュータの種別に応じた画像の読み出しを説明するフローチャートである。図20に示す処理は、サーバコンピュータ2のCPU11により行われる。図20において、ステップS41は、読み出すべき画像データのソースの種別がPCであるか否かを判定する。ステップS41の判定結果がYESであると、ステップS42は、読み出すべき画像データの領域をタイルT1とみなし、サーバコンピュータ2のHDD15に記憶された図3に示すデコンポジション・レベル1の圧縮符号(サブバンド)1LL,1HL,1LH,1HHを読み出して復号化し、ステップS43は、復号化された画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。ステップS41の判定結果がNOであると、ステップS44は、読み出すべき画像データのソースの種別がPDAであるか否かを判定する。ステップS44の判定結果がYESであると、ステップS45は、読み出すべき画像データの領域をタイルT2とみなし、クライアントコンピュータ4の記憶装置46に記憶されたデコンポジション・レベル2の圧縮符号(サブバンド)2LL,2HL,2LH,2HHを読み出して復号化し、ステップS46は、復号化された画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。ステップS44の判定結果がNOであると、読み出すべき画像データのソースの種別が携帯電話であると判定され、読み出すべき画像データの領域をタイルT3とみなす。ステップS47は、タイルT2の圧縮符号が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶されたデコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHを読み出して復号化し、ステップS48は、復号化された画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。
FIG. 20 is a flowchart for explaining reading of an image according to the type of the client computer. The process shown in FIG. 20 is performed by the
図21は、ユーザの選択に応じた画像の読み出しを説明するフローチャートである。図20に示す処理は、サーバコンピュータ2のCPU11により行われる。図21において、ステップS51は、読み出すべき画像データが高解像度であるか否かを判定する。ステップS51の判定結果がYESであると、ステップS52は、読み出すべき画像データの領域をタイルT1とみなし、サーバコンピュータ2のHDD15に記憶された図3に示すデコンポジション・レベル1の圧縮符号(サブバンド)1LL,1HL,1LH,1HHを読み出して復号化し、ステップS43は、復号化された画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。ステップS41の判定結果がNOであると、ステップS44は、読み出すべき画像データのソースの種別がPDAであるか否かを判定する。ステップS44の判定結果がYESであると、ステップS45は、読み出すべき画像データの領域をタイルT2とみなし、クライアントコンピュータ4の記憶装置46に記憶されたデコンポジション・レベル2の圧縮符号(サブバンド)2LL,2HL,2LH,2HHを読み出して復号化し、ステップS46は、復号化された画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。ステップS44の判定結果がNOであると、読み出すべき画像データのソースの種別が携帯電話であると判定され、読み出すべき画像データの領域をタイルT3とみなす。ステップS47は、タイルT2の圧縮符号が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶されたデコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHを読み出して復号化し、ステップS48は、復号化された画像データを表示要求元のクライアントコンピュータ4の表示部43に表示する。
FIG. 21 is a flowchart for explaining reading of an image according to a user's selection. The process shown in FIG. 20 is performed by the
尚、第1〜第3データ保存手段54〜56は、各々が各タイルを符号化して記憶させるようにしても良いことは、言うまでもない。この場合、各タイルを所望の解像度で読み出すことができる。 Needless to say, the first to third data storage units 54 to 56 may each encode and store each tile. In this case, each tile can be read out with a desired resolution.
図22は、タイル画像分割の他の例を説明する図である。図22は、画像入力装置5等から入力された画像データを、タイル画像分割手段50が4つのタイルT1〜T4に分割する様子を示す。この場合、各タイルT1〜T4は、第1圧縮符号作成手段51により図3に示すデコンポジション・レベル1の圧縮符号(サブバンド)1LL,1HL,1LH,1HHに符号化され、第1データ保存手段54によりサーバコンピュータ2のHDD15に記憶される。又、各タイルT1〜T4は、デコンポジション・レベル2のサブバンド2LL,2HL,2LH,2HHに符号化され、第2データ保存手段55によりクライアントコンピュータ4の記憶装置46に記憶される。更に、各タイルT1〜T4は、デコンポジション・レベル3のサブバンド3LL,3HL,3LH,3HHに符号化され、第3データ保持手段56によりタイルT1〜T4の圧縮符号(サブバンド)が記憶されたクライアントコンピュータ4とは異なるクライアントコンピュータ4の記憶装置46に記憶される。この場合、所望の解像度で各タイルT1〜T4の画像を読み出すことができる。
FIG. 22 is a diagram illustrating another example of tile image division. FIG. 22 shows how the tile image dividing unit 50 divides image data input from the
このようにネットワーク3上に分散しているサーバコンピュータ2やクライアントコンピュータ4(MFP7も含む)に、圧縮符号を画像データを複数に分割したタイル(小領域)単位で分散して記憶することにより、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することが可能になるので、高速な処理が可能になる。
In this way, the
従って、画像の表示等を行う場合は、各装置(サーバコンピュータ2やクライアントコンピュータ4(MFP7も含む))で保持しているタイル(小領域)画像を合成して表示する。又、画像全体ではなく、所定の(ユーザが指定した)タイル(小領域)のみ表示すれば良い場合は、所定のタイル(小領域)が保存されている装置(サーバコンピュータ2やクライアントコンピュータ4(MFP7も含む))から所定のデータ(ユーザが指定した所定タイル(小領域)画像のみ)を取り出し表示すれば良い。
Therefore, when displaying an image or the like, tile (small area) images held in each device (the
上記の如く、矩形領域毎に分割された画像データの圧縮符号が各々分散されて記憶されることにより、画像の表示等を行う場合は各矩形領域画像を合成して表示すれば良く、又、画像全体ではなく所定の(ユーザが指定した)領域のみ表示すれば良い場合には所定の(ユーザが指定した)領域に含まれる矩形領域の圧縮符号のみを取得して画像を表示すれば良く、データ作成時やデータの表示・印刷等の出力時に処理負荷を分散することが可能になるので、高速な処理が可能になる。 As described above, the compression codes of the image data divided for each rectangular area are distributed and stored, so that when displaying an image, the rectangular area images may be combined and displayed. If it is only necessary to display a predetermined area (specified by the user) instead of the entire image, it is only necessary to acquire the compression code of the rectangular area included in the predetermined area (specified by the user) and display the image. Since the processing load can be distributed at the time of data creation and output such as data display / printing, high-speed processing becomes possible.
2 画像処理装置、電子機器
3 ネットワーク
4,5,6,7 電子機器
15 記憶媒体
31,32,33 階層別符号化手段
34,35,36 分散記憶手段
50,51,52,53 矩形領域別符号化手段
54,55,56 分散記憶手段
2 Image processing apparatus,
Claims (12)
画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化手段と、
この矩形領域別符号化手段により矩形領域毎に分割された圧縮符号を各々分散させて複数の記憶装置に記憶する分散記憶手段とを備え、
前記分散記憶手段は、各記憶装置に対応する1つの階層の圧縮符号を記憶することを特徴とする画像処理装置。 In an image processing apparatus that hierarchically compresses and encodes pixel values for each rectangular region obtained by dividing image data into one or a plurality of steps, such as discrete wavelet transform, quantization, and encoding,
Encoding means for each rectangular area that compresses and encodes image data in a state divided into rectangular areas;
And a distributed storage means for storing a plurality of storage devices respectively dispersing the compressed codes which are divided for each rectangular region by the rectangular region by coding means,
The distributed storage means stores one layer of compression codes corresponding to each storage device.
画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化手段と、
この矩形領域別符号化手段により矩形領域毎に分割された圧縮符号を各電子機器の複数の記憶装置に分散させて記憶する分散記憶手段とを備え、
前記分散記憶手段は、各記憶装置に対応する1つの階層の圧縮符号を記憶することを特徴とする画像処理装置。 This is an electronic device connected to a network together with various electronic devices, and is an image in which pixel values are hierarchically compressed and encoded by a procedure of discrete wavelet transform, quantization, and encoding for each rectangular area obtained by dividing image data into one or more. In the processing device,
Encoding means for each rectangular area that compresses and encodes image data in a state divided into rectangular areas;
And a distributed storage means for storing the compressed codes which are divided for each rectangular area is dispersed into a plurality of storage devices of the electronic devices by the rectangular region by coding means,
The distributed storage means stores one layer of compression codes corresponding to each storage device.
画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、
この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各々分散させて複数の記憶装置に記憶する分散記憶機能と、
を実行させ、
前記分散記憶機能は、各記憶装置に対応する1つの階層の圧縮符号を記憶することを特徴とするプログラム。 Installed in or interpreted by a computer that has an image processing device that hierarchically compresses and encodes pixel values for each rectangular area obtained by dividing image data into one or a plurality of steps, such as discrete wavelet transform, quantization, and encoding. A program executed by the computer,
An encoding function for each rectangular area that compresses and encodes image data divided into rectangular areas;
A distributed storage function for distributing the compressed codes divided for each rectangular area by the encoding function for each rectangular area and storing them in a plurality of storage devices ;
Was executed,
The distributed storage function stores a compression code of one layer corresponding to each storage device .
画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、
この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各電子機器の複数の記憶装置に分散させて記憶する分散記憶機能と、
を実行させ、
前記分散記憶機能は、各記憶装置に対応する1つの階層の圧縮符号を記憶することを特徴とするプログラム。 This is an electronic device connected to a network together with various electronic devices, and is an image in which pixel values are hierarchically compressed and encoded by a procedure of discrete wavelet transform, quantization, and encoding for each rectangular area obtained by dividing image data into one or more. A program installed in a computer included in a processing device or interpreted and executed,
An encoding function for each rectangular area that compresses and encodes image data divided into rectangular areas;
A distributed storage function for storing the compressed code divided for each rectangular area by the encoding function for each rectangular area in a plurality of storage devices of each electronic device;
Was executed,
The distributed storage function stores a compression code of one layer corresponding to each storage device .
画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、
この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各々分散させて複数の記憶装置に記憶する分散記憶機能と、
を実行させるプログラムを記憶し、
前記分散記憶機能は、各記憶装置に対応する1つの階層の圧縮符号を記憶することを特徴とする記憶媒体。 Installed in or interpreted by a computer that has an image processing device that hierarchically compresses and encodes pixel values for each rectangular area obtained by dividing image data into one or a plurality of steps, such as discrete wavelet transform, quantization, and encoding. A program executed by the computer,
An encoding function for each rectangular area that compresses and encodes image data divided into rectangular areas;
A distributed storage function for distributing the compressed codes divided for each rectangular area by the encoding function for each rectangular area and storing them in a plurality of storage devices ;
Storing a program for executing,
The distributed storage function stores a compression code of one hierarchy corresponding to each storage device .
画像データを矩形領域毎に分割した状態で圧縮符号化する矩形領域別符号化機能と、
この矩形領域別符号化機能により矩形領域毎に分割された圧縮符号を各電子機器の複数の記憶装置に分散させて記憶する分散記憶機能と、
を実行させるプログラムを記憶し、
前記分散記憶機能は、各記憶装置に対応する1つの階層の圧縮符号を記憶することを特徴とする記憶媒体。 This is an electronic device connected to a network together with various electronic devices, and is an image in which pixel values are hierarchically compressed and encoded by a procedure of discrete wavelet transform, quantization, and encoding for each rectangular area obtained by dividing image data into one or more. A program installed in a computer included in a processing device or interpreted and executed,
An encoding function for each rectangular area that compresses and encodes image data divided into rectangular areas;
A distributed storage function for storing the compressed code divided for each rectangular area by the encoding function for each rectangular area in a plurality of storage devices of each electronic device;
Storing a program for executing,
The distributed storage function stores a compression code of one hierarchy corresponding to each storage device .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008217777A JP4374063B2 (en) | 2003-01-30 | 2008-08-27 | Image processing apparatus, program, and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003022444 | 2003-01-30 | ||
| JP2008217777A JP4374063B2 (en) | 2003-01-30 | 2008-08-27 | Image processing apparatus, program, and storage medium |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004014628A Division JP2004254298A (en) | 2003-01-30 | 2004-01-22 | Image processing apparatus, program, and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009017582A JP2009017582A (en) | 2009-01-22 |
| JP4374063B2 true JP4374063B2 (en) | 2009-12-02 |
Family
ID=40357824
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008217777A Expired - Fee Related JP4374063B2 (en) | 2003-01-30 | 2008-08-27 | Image processing apparatus, program, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4374063B2 (en) |
-
2008
- 2008-08-27 JP JP2008217777A patent/JP4374063B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009017582A (en) | 2009-01-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4111268B2 (en) | Thumbnail image display method, server computer, client computer, and program | |
| JP4111926B2 (en) | Image processing apparatus, program, storage medium, and image transmission method | |
| JP4128438B2 (en) | Image processing apparatus, program, storage medium, and image editing method | |
| JP3922919B2 (en) | Still image expansion apparatus and still image expansion method | |
| JP2004254298A (en) | Image processing apparatus, program, and storage medium | |
| US20040146206A1 (en) | Image processing apparatus, program, recording medium, and data decompression method | |
| JP4349816B2 (en) | Image processing apparatus, image compression apparatus, image processing method, image compression method, program, and recording medium | |
| JP4179498B2 (en) | Image processing apparatus and image processing method | |
| EP1296287A2 (en) | Image information code processing system | |
| US7526133B2 (en) | Image processing apparatus, image processing program, and storage medium | |
| JP3952459B2 (en) | Image processing apparatus, program, storage medium, and image processing method | |
| JP2004242290A (en) | Image processing apparatus and image processing method, image editing processing system, image processing program, and storage medium | |
| JP4374063B2 (en) | Image processing apparatus, program, and storage medium | |
| JP4489474B2 (en) | Image processing apparatus, program, and recording medium | |
| JP4280508B2 (en) | Misalignment correction apparatus, image processing apparatus, program, storage medium, and misalignment correction method | |
| JP2002369202A (en) | Image compression device, image decompression device, image compression method, image decompression method, program, and recording medium recording the program | |
| JP4093870B2 (en) | Image processing apparatus, program, and storage medium | |
| JP4010957B2 (en) | Image processing apparatus, program, storage medium, and image forming apparatus | |
| JP4052952B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
| JP3961966B2 (en) | Unnecessary part removing apparatus, image processing apparatus, program, storage medium, and unnecessary part removing method | |
| JP4323178B2 (en) | Search object restriction device, image processing apparatus, program, storage medium, and search object restriction method | |
| JP2004096695A (en) | Image processing device, image display device, program, storage medium, and image processing method | |
| JP4520499B2 (en) | Image processing apparatus, image processing program, and storage medium | |
| JP2004056648A (en) | Image processing apparatus, document management system, program, and storage medium | |
| JP2004201048A (en) | Image information processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090609 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090807 |
|
| 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: 20090901 |
|
| 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: 20090904 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120911 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4374063 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130911 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |