JP2009188995A - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- Publication number
- JP2009188995A JP2009188995A JP2009002820A JP2009002820A JP2009188995A JP 2009188995 A JP2009188995 A JP 2009188995A JP 2009002820 A JP2009002820 A JP 2009002820A JP 2009002820 A JP2009002820 A JP 2009002820A JP 2009188995 A JP2009188995 A JP 2009188995A
- Authority
- JP
- Japan
- Prior art keywords
- information
- symbol
- unit
- dictionary
- buffer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
本発明は画像処理装置および画像処理方法に係り、特に、データを圧縮することができるようにした画像処理装置および画像処理方法に関する。 The present invention relates to an image processing apparatus and an image processing method, and more particularly, to an image processing apparatus and an image processing method capable of compressing data.
従来から、多くのデータ圧縮方法が知られている。データ圧縮方法の1つとして、ハフマン符号化や算術符号化などに代表されるエントロピー符号化が知られている。このエントロピー符号化の前処理として、データの特徴を抽出してデータを変換するモデル化処理が行われる。モデル化処理には、ジャコブ・ジヴとエイブラハム・レンペルによって開発されたデータ圧縮アルゴリズムであるLZ77やLZ78という手法が知られている。LZ77やLZ78は、既出のキャラクタの発生位置とその長さを保存することによってデータを圧縮する手法である。また、モデル化処理には、LZ77やLZ78の他に、ユニバーサル符号化(辞書化・辞書に基づいた符号化(dictionary-based coding))という手法が知られている(以下、「辞書化」と記述する)。この辞書化は、LZ77と同様に、データ量が増えれば増えるほどより高い圧縮効果が期待できる。 Conventionally, many data compression methods are known. As one of data compression methods, entropy coding represented by Huffman coding and arithmetic coding is known. As pre-processing for entropy encoding, modeling processing for extracting data features and converting the data is performed. For the modeling process, methods such as LZ77 and LZ78, which are data compression algorithms developed by Jacob Jiv and Abraham Lempel, are known. LZ77 and LZ78 are methods for compressing data by storing the occurrence positions and lengths of existing characters. In addition to LZ77 and LZ78, modeling is known as a technique called universal coding (dictionary-based coding) (hereinafter referred to as `` dictionaryization ''). Describe). Similar to LZ77, this dictionary can be expected to have a higher compression effect as the amount of data increases.
この辞書化を画像の圧縮に適用した技術の例として、ISO/IEC14492で国際標準化されている2値画像圧縮技術「JBIG2」のSymbol Dictionary Codingがある。この辞書化による圧縮では、画像のビットマップ(例えば1文字のビットマップ)を辞書に登録しておき、共通するビットマップを同一の辞書として取り扱い、辞書と位置情報を用いて圧縮する。そのため、この辞書化による圧縮は、文字コードに対して効果的であるだけでなく、画像のビットマップを辞書に登録しておけば、特定のパターンを持つ画像(文字画像やハーフトーン画像など)に対しても効果を発揮する。例えば辞書化による圧縮を用いないで「ABCBAD」という文字画像を圧縮する場合、従来は「ABCBAD」をそのまま全部画像として圧縮していた。これに対して、辞書化による圧縮を用いて「ABCBAD」という画像を圧縮する場合、「A」という画像が2つあることから、「A」という画像を1つだけ保持しつつ、残りの「A」という画像に関しては位置情報のみを持つことによりデータを圧縮し、データの削減を図る。具体的には、上記の場合、辞書化による圧縮によって以下のようなデータを作成する。 As an example of a technique in which this lexiconization is applied to image compression, there is Symbol Dictionary Coding of binary image compression technique “JBIG2” internationally standardized by ISO / IEC14492. In the compression by lexicization, an image bitmap (for example, a one-character bitmap) is registered in the dictionary, a common bitmap is handled as the same dictionary, and compression is performed using the dictionary and position information. Therefore, compression by this dictionary is not only effective for character codes, but if you register an image bitmap in the dictionary, images with a specific pattern (such as character images and halftone images) Also effective against. For example, when a character image “ABCBAD” is compressed without using dictionary compression, conventionally, “ABCBAD” is entirely compressed as an image. On the other hand, when the image “ABCBAD” is compressed using compression by dictionary conversion, since there are two images “A”, only one image “A” is retained and the remaining “A” is retained. For the image “A”, the data is compressed by having only the position information, and the data is reduced. Specifically, in the above case, the following data is created by compression by dictionary conversion.
辞書(Symbol)4種類 :『A』『B』『C』『D』
辞書(Symbol)位置情報6種類:(画像A:位置(0,0))、(画像B:位置(6,0))、
(画像C:位置(12,0))、(画像B:位置(18,0))、
(画像A:位置(24,0))、(画像D:位置(30,0))
Dictionary (Symbol) 4 types: “A” “B” “C” “D”
Dictionary (Symbol) position information 6 types: (image A: position (0,0)), (image B: position (6,0)),
(Image C: Position (12,0)), (Image B: Position (18,0)),
(Image A: Position (24,0)), (Image D: Position (30,0))
辞書化による圧縮によってデータを作成する場合、次のような処理が実行される。すなわち、辞書化の対象となる画像を抽出し、抽出された辞書化対象の画像が既存の辞書(symbol)と同一か否かを判定し、既存の辞書と同一であると判定されれば辞書(Symbol)の位置情報を登録する一方、既存の辞書のいずれとも異なると判定されれば辞書(Symbol)の情報と辞書(Symbol)の位置情報を登録する。これにより、辞書(Symbol)の情報と辞書(Symbol)の位置情報を圧縮することにより高圧縮化を実現する。 When data is created by compression by dictionary conversion, the following processing is executed. That is, an image to be lexicized is extracted, it is determined whether the extracted image to be lexicized is the same as an existing dictionary (symbol), and if it is determined to be the same as the existing dictionary, the dictionary While the position information of (Symbol) is registered, if it is determined that it is different from any of the existing dictionaries, the information of the dictionary (Symbol) and the position information of the dictionary (Symbol) are registered. Thus, high compression can be realized by compressing the dictionary information and the position information of the dictionary.
なお、圧縮処理の高速化に関しては、データの1まとまり(文字列など)をひとつの辞書候補として扱ったり、あるいは、比較対象の位置を近づけたりすることによって高速化や高圧縮化を図る技術が提案されている。これらの技術は、それぞれ、特開平10−150366号公報や特開2003−264703号公報に開示されている。 For speeding up the compression process, there is a technique for speeding up and compressing data by treating a single piece of data (such as a character string) as one dictionary candidate or by bringing the position of the comparison target closer. Proposed. These techniques are disclosed in Japanese Patent Application Laid-Open Nos. 10-150366 and 2003-264703, respectively.
しかしながら、この辞書化による圧縮方法では、圧縮するデータ量が増えれば増えるほど圧縮効果は高くなるが、その分一時的に辞書(Symbol)のデータを保持する大容量のバッファが必要になるだけでなく、辞書(Symbol)の数が増えれば増えるに伴い、辞書化対象の画像と辞書(Symbol)とのマッチングに要する時間も増加してしまうという課題があった。 However, with this compression method using lexicization, the greater the amount of data to be compressed, the higher the compression effect.However, only a large-capacity buffer is needed to temporarily hold dictionary data. However, as the number of dictionaries (symbols) increases, there is a problem that the time required for matching between the image to be dictionaryd and the dictionaries (symbols) also increases.
本発明は、このような状況に鑑みてなされたものであり、バッファ使用量の増加を抑制するだけでなく、辞書とのマッチングに要する時間を低減しつつ、データを好適に圧縮することができる画像処理装置および画像処理方法を提供することを目的とする。 The present invention has been made in view of such a situation, and not only suppresses an increase in the amount of buffer usage, but also allows data to be suitably compressed while reducing the time required for matching with a dictionary. An object is to provide an image processing apparatus and an image processing method.
本発明の画像処理装置は、上述した課題を解決するために、原稿に関する画像データを読み取るスキャン部と、前記画像データから辞書化対象データを抽出する抽出部と、前記抽出部により抽出された前記辞書化対象データをSymbol情報として登録し、前記Symbol情報に対して識別情報を割り当てるとともに、前記Symbol情報が画像データ中のいずれの場所に存在するかを示すSymbol位置情報を前記識別情報と対応付けて登録する登録部と、前記登録部によって登録された前記Symbol情報および前記Symbol位置情報を保持する辞書バッファと、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を所定の符号化方式を用いて圧縮符号化する圧縮符号化部と、辞書化された原稿の枚数が所定の単位枚数に達したか否かに基づいて、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を前記圧縮符号化部に出力するか否かに関する出力有無情報を第1の状態または第2の状態に設定する設定部と、前記設定部によって前記出力有無情報が前記第1の状態に設定された場合、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を前記圧縮符号化部に出力する出力部とを備え、前記抽出部によって抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれかの前記Symbol情報と一致する場合、前記登録部は、前記辞書化対象データを新たなSymbol情報として登録せずに、前記辞書化対象データと一致する前記Symbol情報に割り当てられた前記識別情報と対応付けて前記Symbol位置情報を登録する一方、前記抽出部によって抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれの前記Symbol情報とも一致しない場合、前記登録部は、前記辞書化対象データを新たなSymbol情報として登録し、前記Symbol情報に対して前記識別情報を割り当てるとともに、前記Symbol位置情報を前記識別情報と対応付けて登録することを特徴とする。 In order to solve the above-described problems, an image processing apparatus according to the present invention includes a scanning unit that reads image data relating to a document, an extraction unit that extracts lexicographic target data from the image data, and the extraction unit that extracts the data to be dictionaryd. The data to be lexicized is registered as symbol information, identification information is assigned to the symbol information, and symbol position information indicating where the symbol information exists in image data is associated with the identification information. A registration unit for registration, a dictionary buffer for storing the symbol information and the symbol position information registered by the registration unit, and a predetermined encoding method for the symbol information and the symbol position information held in the dictionary buffer. A compression encoding unit that compresses and encodes the data using a dictionary, and the dictionary based on whether or not the number of documents in the dictionary has reached a predetermined unit number A setting unit for setting output presence / absence information related to whether or not to output the symbol information and the symbol position information held in a buffer to the compression encoding unit in the first state or the second state, and the setting unit An output unit that outputs the symbol information and the symbol position information held in the dictionary buffer to the compression encoding unit when the output presence / absence information is set to the first state; If the extracted lexical object data matches any of the symbol information held in the dictionary buffer, the registration unit does not register the lexical object data as new symbol information, and the dictionary While registering the Symbol position information in association with the identification information assigned to the Symbol information that matches the data to be converted, the lexicization extracted by the extraction unit If the data does not match any of the symbol information held in the dictionary buffer, the registration unit registers the data to be dictionaryd as new symbol information and assigns the identification information to the symbol information In addition, the symbol position information is registered in association with the identification information.
本発明の画像処理方法は、上述した課題を解決するために、原稿に関する画像データを読み取り、前記画像データから辞書化対象データを抽出し、抽出された前記辞書化対象データをSymbol情報として登録し、前記Symbol情報に対して識別情報を割り当てるとともに、前記Symbol情報が画像データ中のいずれの場所に存在するかを示すSymbol位置情報を前記識別情報と対応付けて登録し、登録された前記Symbol情報および前記Symbol位置情報を保持し、保持される前記Symbol情報および前記Symbol位置情報を所定の符号化方式を用いて圧縮符号化し、辞書化された原稿の枚数が所定の単位枚数に達したか否かに基づいて、保持される前記Symbol情報および前記Symbol位置情報を出力するか否かに関する出力有無情報を第1の状態または第2の状態に設定し、前記出力有無情報が前記第1の状態に設定された場合、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を出力し、抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれかの前記Symbol情報と一致する場合、前記辞書化対象データを新たなSymbol情報として登録せずに、前記辞書化対象データと一致する前記Symbol情報に割り当てられた前記識別情報と対応付けて前記Symbol位置情報を登録する一方、抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれの前記Symbol情報とも一致しない場合、前記辞書化対象データを新たなSymbol情報として登録し、前記Symbol情報に対して前記識別情報を割り当てるとともに、前記Symbol位置情報を前記識別情報と対応付けて登録することを特徴とする。 In order to solve the above-described problem, the image processing method of the present invention reads image data relating to a document, extracts lexical object data from the image data, and registers the extracted lexical object data as Symbol information. , Assigning identification information to the Symbol information, registering the symbol position information indicating where the Symbol information exists in the image data in association with the identification information, and registering the Symbol information The symbol position information is retained, and the stored symbol information and the symbol position information are compression-encoded using a predetermined encoding method, and whether or not the number of originals in the dictionary reaches a predetermined unit number On the basis of whether or not the symbol information and the symbol position information to be output are to be output, the output presence / absence information is set to the first state or the second state. When the presence / absence information is set to the first state, the Symbol information and the Symbol position information held in the dictionary buffer are output, and the extracted data to be lexicized is held in the dictionary buffer. If the symbol information matches the symbol information, the symbolization target data is not registered as new symbol information, but is associated with the identification information assigned to the symbol information that matches the dictionary target data. While registering position information, if the extracted lexical object data does not match any of the Symbol information held in the dictionary buffer, the lexical object data is registered as new Symbol information, and the Symbol information And the symbol position information is registered in association with the identification information.
本発明の画像処理装置は、上述した課題を解決するために、原稿に関する画像データを読み取るスキャン部と、前記画像データから辞書化対象データを抽出する抽出部と、前記抽出部により抽出された前記辞書化対象データをSymbol情報として登録し、前記Symbol情報に対して識別情報を割り当てるとともに、前記Symbol情報が画像データ中のいずれの場所に存在するかを示すSymbol位置情報を前記識別情報と対応付けて登録する登録部と、前記登録部によって登録された前記Symbol情報および前記Symbol位置情報を保持する辞書バッファと、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を所定の符号化方式を用いて圧縮符号化する圧縮符号化部と、辞書化された原稿の枚数が所定の単位枚数に達したか否かに基づいて、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を前記圧縮符号化部に出力するための出力制御信号を生成する生成部と、前記生成部によって生成された前記出力制御信号に従い、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を前記圧縮符号化部に出力する出力部とを備え、前記抽出部によって抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれかの前記Symbol情報と一致する場合、前記登録部は、前記辞書化対象データを新たなSymbol情報として登録せずに、前記辞書化対象データと一致する前記Symbol情報に割り当てられた前記識別情報と対応付けて前記Symbol位置情報を登録する一方、前記抽出部によって抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれの前記Symbol情報とも一致しない場合、前記登録部は、前記辞書化対象データを新たなSymbol情報として登録し、前記Symbol情報に対して前記識別情報を割り当てるとともに、前記Symbol位置情報を前記識別情報と対応付けて登録することを特徴とする。 In order to solve the above-described problems, an image processing apparatus according to the present invention includes a scanning unit that reads image data relating to a document, an extraction unit that extracts lexicographic target data from the image data, and the extraction unit that extracts the data to be dictionaryd. The data to be lexicized is registered as symbol information, identification information is assigned to the symbol information, and symbol position information indicating where the symbol information exists in image data is associated with the identification information. A registration unit for registration, a dictionary buffer for storing the symbol information and the symbol position information registered by the registration unit, and a predetermined encoding method for the symbol information and the symbol position information held in the dictionary buffer. A compression encoding unit that compresses and encodes the data using a dictionary, and the dictionary based on whether or not the number of documents in the dictionary has reached a predetermined unit number A generator for generating an output control signal for outputting the symbol information and the symbol position information held in a buffer to the compression encoder; and the dictionary buffer according to the output control signal generated by the generator Output the symbol information and the symbol position information held in the compression encoding unit, and the dictionary target data extracted by the extraction unit is held in the dictionary buffer When the symbol information matches the symbol information, the registration unit does not register the dictionary data as new symbol information, but associates it with the identification information assigned to the symbol information that matches the dictionary data. The Symbol position information is registered, and the lexicographic target data extracted by the extraction unit is stored in the dictionary buffer. If the information does not match the mbol information, the registration unit registers the data to be dictionaryd as new symbol information, assigns the identification information to the symbol information, and associates the symbol position information with the identification information. Registered.
本発明によれば、バッファ使用量の増加を抑制するだけでなく、辞書とのマッチングに要する時間を低減しつつ、データを好適に圧縮することができる。 According to the present invention, it is possible not only to suppress an increase in buffer usage, but also to suitably compress data while reducing the time required for matching with a dictionary.
以下、本発明の実施の形態について、図面を参照しながら説明する。図1は、本実施形態に係る画像処理装置1の構成を表している。図1に示されるように、画像処理装置1は、制御部11、プリンタ駆動部12、画像データインタフェース13、ページメモリ14、画像処理部15、スキャナ部16、および操作パネル17を備える。制御部1は、CPU(Central Processing Unit)21、ROM(Read Only Memory)22、RAM(Random Access Memory)23、バス24、HDD(Hard Disk Drive)25、および外部通信部26からなる。CPU21は、ROM22に記憶されているプログラムまたはHDD25からRAM23にロードされた各種のアプリケーションプログラムに従って各種の処理を実行するとともに、種々の制御信号を生成し、各部に供給することにより画像処理装置1を統括的に制御する。RAM23は、CPU21が各種の処理を実行する上において必要なデータなどを適宜記憶する。CPU21、ROM22、RAM23、およびHDD25は、バス24を介して相互に接続されている。また、モデム、ターミナルアダプタ、およびネットワークインタフェースなどより構成される外部通信部26がバス24に接続される。外部通信部26は、ネットワーク18を介しての通信処理を行う。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a configuration of an
制御部11には、プリンタ駆動部12、操作パネル17、および画像データインタフェース13が接続されている。操作パネル17は、パネル制御部31、表示部32、および操作キー33からなる。表示部32は、例えばLCD(Liquid Crystal Display)などからなる。画像データインタフェース13には、画像処理部15とページメモリ14が接続される。画像処理部15には、スキャナ部16が接続される。ここで、画像を形成する際の画像データの流れについて説明する。原稿が原稿台ガラス上にセットされると、スキャナ部16によって原稿の画像データが読み取られ、読み取られた画像データは画像処理部15に供給される。画像処理部15は、例えばASICなどにより構成され、スキャナ部16から供給された原稿の画像データを取得し、取得された画像データに対して例えばシェーディング補正や各種のフィルタリング処理、階調処理、ガンマ補正などを施す。勿論、画像処理部15は、ソフトウェアとして制御部11などに実装されるようにしてもよい。これらの処理後の画像データは、必要に応じて画像データインタフェース13を介してページメモリ14に格納される。プリンタ駆動部12は、制御部11の制御に従って駆動する。
A
ここで、本実施形態においては、複数の原稿をスキャンしてスキャン後のデータを圧縮する場合において2つの方法を想定する。1つ目の方法について説明する。まず、スキャナ部16が複数の原稿をマルチページスキャンした後、制御部11は、スキャン後のデータを一時ファイルとして一旦制御部11のHDD25に格納する。次に、制御部11は、HDDに格納されたマルチページに関する一時ファイルをRAM23上に展開して圧縮する。2つ目の方法について説明する。まず、スキャナ部16が複数の原稿をマルチページスキャンしつつ、制御部11は、スキャン後のデータを一時ファイルとして制御部11のHDD25に順次格納する。制御部11は、HDD25への一時ファイルの格納に並行して、HDDに格納された一時ファイルを順次RAM23上に展開して圧縮する。本実施形態においては、上記のいずれの圧縮方法にも適用することが可能である。
Here, in the present embodiment, two methods are assumed when a plurality of originals are scanned and the data after scanning is compressed. The first method will be described. First, after the
[第1実施形態]
図2は、制御部11により実行することが可能な機能的な構成を表している。図2に示されるように、画像処理装置1は、本発明の特徴的な構成として、辞書化対象データ抽出部40、Symbol一致判定部41、Symbol情報・Symbol位置情報登録部42、辞書バッファ43、辞書情報出力部44、辞書情報出力フラグ設定部45、および圧縮符号化部46を備える。これらの構成は、制御部11のCPU21上でソフトウェアとして実装される。
[First Embodiment]
FIG. 2 shows a functional configuration that can be executed by the
辞書化対象データ抽出部40は、スキャンデータとしての画像データを読み出し、読み出された画像データから辞書化対象データを抽出し、抽出された辞書化対象データをSymbol一致判定部41とSymbol情報・Symbol位置情報登録部42に出力する。
The lexical object
Symbol一致判定部41は、Symbol比較部51とSymbol比較結果出力部52からなる。Symbol比較部51は、辞書化対象データと、辞書バッファ43に一時的に保持されている(バッファリングされている)いずれかのSymbol情報と一致しているか否かを比較判定し、一致判定結果(すなわち、両者が一致している場合には一致していることを示す結果であり、両者が一致していない場合には一致していないことを示す結果)をSymbol比較結果出力部52に出力する。Symbol比較結果出力部52は、Symbol比較部51からの一致判定結果を取得し、取得された一致判定結果をSymbol情報・Symbol位置情報登録部42に出力する。なお、Symbol比較部51が辞書化対象データを比較判定する場合、辞書化対象データと辞書バッファ43に一時的に保持されているいずれかのSymbol情報が画素値という点で100%一致していなくても、所要の基準値以上相関性が存在すれば、Symbol比較部51は両者が一致していると判定する。
The symbol
Symbol情報・Symbol位置情報登録部42は、Symbol情報・ID登録部53、ID・Symbol位置情報登録部54、およびセレクタ55からなる。Symbol情報・ID登録部53は、辞書化対象データを新規のSymbol情報として登録するとともに、登録されたSymbol情報に対してID番号を割り当てる。Symbol情報・ID登録部53は、登録されたSymbol情報を辞書バッファ43のSymbol情報バッファ56に出力するとともに、登録されたSymbol情報に割り当てられたID番号をID・Symbol位置情報登録部54に出力する。ID・Symbol位置情報登録部54は、登録する辞書化対象データが画像中のいずれの場所に存在するかを示すSymbol位置情報をID番号と対応付けて登録し、登録されたSymbol位置情報とID番号を辞書バッファ43のSymbol位置情報バッファ57に出力する。セレクタ55は、Symbol一致判定部41からの一致判定結果を取得し、取得された一致判定結果が両者が一致していないことを示す結果であった場合、Symbol情報・ID登録部53によってSymbol情報が登録されるとともにID番号が割り当てられた後にID・Symbol位置情報登録部54によってSymbol位置情報が登録されるように、Symbol情報・ID登録部53とID・Symbol位置情報登録部54を制御する。一方、セレクタ55は、取得された一致判定結果が両者が一致していることを示す結果であった場合、Symbol情報・ID登録部53による処理を実行せずにID・Symbol位置情報登録部54によってSymbol位置情報が登録されるように、Symbol情報・ID登録部53とID・Symbol位置情報登録部54を制御する。
The Symbol information / Symbol position
辞書情報出力部44は、ゲート58と辞書バッファ初期化部59からなる。ゲート58は、辞書情報出力フラグ設定部45によって設定された辞書情報出力フラグがONである場合、辞書バッファ43のSymbol情報バッファ56にバッファリングされているSymbol情報とSymbol位置情報バッファ57にバッファリングされているSymbol位置情報を辞書バッファ43から読み出し、読み出されたSymbol情報とSymbol位置情報を圧縮符号化部46に出力するとともに、Symbol情報とSymbol位置情報の出力後に辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57を初期化するための初期化ON信号を辞書バッファ初期化部59に出力する。一方、ゲート58は、辞書情報出力フラグがOFFである場合、辞書バッファ43のSymbol情報バッファ56にバッファリングされているSymbol情報とSymbol位置情報バッファ57にバッファリングされているSymbol位置情報の圧縮符号化部46に出力せずに、辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57を初期化しないための初期化OFF信号を辞書バッファ初期化部59に出力する。
The dictionary
辞書バッファ初期化部59は、ゲート58からの初期化ON/OFF信号に従い、辞書バッファ43を初期化する。すなわち、辞書バッファ初期化部59は、ゲート58からの初期化ON/OFF信号が初期化ON信号である場合、辞書バッファ43を初期化するための初期化信号を生成し、生成された初期化信号を辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57に出力する。一方、辞書バッファ初期化部59は、ゲート58からの初期化ON/OFF信号が初期化OFF信号である場合、辞書バッファ43を初期化するための初期化信号を生成しない。従って、辞書バッファ初期化部59は、初期化信号を辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57に出力しない。辞書情報出力フラグ設定部45は、ユーザにより操作パネル17が操作されることにより入力された辞書化単位ページ数に関するパラメータに基づいて、辞書情報出力フラグをONまたはOFFに設定する。圧縮符号化部46は、辞書情報出力部44のゲート58からのSymbol情報とSymbol位置情報を取得し、取得されたSymbol情報とSymbol位置情報を圧縮符号化する。
The dictionary
ここで、従来、辞書化による圧縮を用いて図3に示される「ABCBAD」という画像を圧縮する場合、「A」という画像が2つあることから、「A」という画像を1つだけ保持しつつ、残りの「A」という画像に関しては位置情報のみを持つことによりデータを圧縮し、データの削減を図る。具体的には、上記の場合、辞書化による圧縮によって以下のようなデータを作成する。 Here, conventionally, when compressing the image “ABCBAD” shown in FIG. 3 using compression by dictionary conversion, since there are two images “A”, only one image “A” is retained. On the other hand, with respect to the remaining image “A”, the data is compressed by having only position information, thereby reducing the data. Specifically, in the above case, the following data is created by compression by dictionary conversion.
図4に示される辞書(Symbol)4種類 :『A』『B』『C』『D』
辞書(Symbol)位置情報6種類:(画像A:位置(0,0))、(画像B:位置(6,0))、
(画像C:位置(12,0))、(画像B:位置(18,0))、
(画像A:位置(24,0))、(画像D:位置(30,0))
4 types of dictionaries (Symbols) shown in Fig. 4: "A""B""C""D"
Dictionary (Symbol) position information 6 types: (image A: position (0,0)), (image B: position (6,0)),
(Image C: Position (12,0)), (Image B: Position (18,0)),
(Image A: Position (24,0)), (Image D: Position (30,0))
しかしながら、従来の辞書化による圧縮方法では、圧縮するデータ量が増えれば増えるほど圧縮効果は高くなるが、その分一時的に辞書(Symbol)のデータを保持する大容量のバッファが必要になるだけでなく、辞書(Symbol)の数が増えれば増えるに伴い、辞書化対象の画像と辞書(Symbol)とのマッチングに要する時間も増加してしまう。そこで、本実施形態においては、入力される画像データのデータ量の増加に伴うバッファの使用量の増加や、マッチングに要する時間の増加に伴う処理時間の増加を防止するために、辞書化時に辞書化のタイミングコントロール信号を与え、一定条件ごとにバッファに保持されるデータを出力して符号化する。これにより、バッファ使用量の増加を抑制するだけでなく、辞書とのマッチングに要する時間を低減しつつ、データを好適に圧縮することができる。 However, with the conventional compression method based on lexiconization, the greater the amount of data to be compressed, the higher the compression effect, but only a large capacity buffer that temporarily holds the data of the dictionary (Symbol) is required. In addition, as the number of dictionaries (Symbols) increases, the time required for matching between the dictionary target image and the dictionary (Symbol) also increases. Therefore, in the present embodiment, in order to prevent an increase in the amount of buffer usage that accompanies an increase in the amount of input image data and an increase in processing time associated with an increase in the time required for matching, a dictionary is used when creating a dictionary. A timing control signal is provided, and data held in the buffer is output and encoded for each predetermined condition. As a result, not only an increase in the amount of buffer usage can be suppressed, but also the data can be suitably compressed while reducing the time required for matching with the dictionary.
図5のフローチャートを参照して、図2の画像処理装置1における辞書化処理について説明する。なお、図5のフローチャートを用いて説明する辞書化処理では、説明を簡略するために、図6に示されるようにスキャン部16が2ページの原稿をスキャンして1ページ目の画像と2ページの画像を辞書化する場合を想定する。なお、図5のフローチャートを用いて説明する辞書化処理の前に、ユーザにより操作パネル17が操作されることにより入力された辞書化単位ページ数に関するパラメータの値として「2」が予め入力されており、辞書情報出力フラグ設定部45は、入力された辞書化単位ページ数に関するパラメータの値「2」に基づいて、2ページの画像の辞書登録が終了する度に辞書情報出力フラグをONに設定する。
With reference to the flowchart in FIG. 5, the dictionary processing in the
動作1において、辞書化対象データ抽出部40は、スキャンデータとしての画像データを読み出し、読み出された画像データから辞書化対象データを抽出し、抽出された辞書化対象データをSymbol一致判定部41とSymbol情報・Symbol位置情報登録部42に出力する。具体的には、辞書化対象データ抽出部40は、図6に示される1ページ目の画像データから辞書化対象データを抽出する。辞書化対象データ抽出部40は、図6に示される1ページの画像データの中から左から右と上から下に黒画素を探索し、(2,0)の位置の黒画素を検出する。なお、左上の位置を(0,0)とする。辞書化対象データ抽出部40は、検出された(2,0)の位置の黒画素の連結成分を抽出することにより、図6に示される1ページの画像データの中から「A」という辞書化対象データを抽出する。
In
動作2において、Symbol一致判定部41のSymbol比較部51は、辞書化対象データと、辞書バッファ43に一時的に保持されている(バッファリングされている)いずれかのSymbol情報と一致しているか否かを比較判定し、一致判定結果をSymbol比較結果出力部52に出力する。Symbol比較結果出力部52は、Symbol比較部51からの一致判定結果を取得し、取得された一致判定結果をSymbol情報・Symbol位置情報登録部42に出力する。具体的には、図6に示される1ページの画像データの中から「A」という辞書化対象データが抽出された場合、このときに辞書バッファ43のSymbol情報バッファ56にはまだ「A」というSymbolが保持されていないことから、Symbol比較部51は、辞書化対象データと、辞書バッファ43に一時的に保持されているいずれのSymbol情報とも一致していないと判定する。なお、辞書バッファ56に予め特定のSymbolが登録・保持されるようにしてもよい。
In the
動作2においてSymbol一致判定部41のSymbol比較部51が、辞書化対象データと、辞書バッファ43に一時的に保持されているいずれのSymbol情報とも一致していないと判定した場合、Symbol一致判定部41のSymbol比較部51は、一致判定結果をSymbol比較結果出力部52に出力する。Symbol比較結果出力部52は、Symbol比較部51からの一致判定結果を取得し、取得された一致判定結果をSymbol情報・Symbol位置情報登録部42に出力する。動作3において、Symbol情報・ID登録部53は、辞書化対象データ(「A」というSymbol)を新規のSymbol情報として登録するとともに、登録されたSymbol情報に対してID番号を割り当てる。具体的には、Symbol情報・ID登録部53は、辞書化対象データ(「A」というSymbol)を新規のSymbol情報として登録するとともに、登録されたSymbol情報に対してID番号(ID1)を割り当てる。
When the
Symbol情報・ID登録部53は、登録されたSymbol情報を辞書バッファ43のSymbol情報バッファ56に出力するとともに、登録されたSymbol情報に割り当てられたID番号をID・Symbol位置情報登録部54に出力する。ID・Symbol位置情報登録部54は、登録する辞書化対象データが画像中のいずれの場所に存在するかを示すSymbol位置情報をID番号と対応付けて登録する。具体的には、ID・Symbol位置情報登録部54は、登録する辞書化対象データ(「A」というSymbol)が画像中のいずれの場所に存在するかを示すSymbol位置情報(1ページ目の(0,0)の位置情報)をID番号(ID1)と対応付けて登録する。
The Symbol information /
ID・Symbol位置情報登録部54は、登録されたSymbol位置情報とID番号を辞書バッファ43のSymbol位置情報バッファ57に出力する。辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57は、Symbol情報・Symbol位置情報登録部42からのSymbol情報とSymbol位置情報をバッファリングする。図7は、辞書バッファ43の状態1を示している。
The ID / Symbol position
動作5において、辞書情報出力部44のゲート58は、辞書情報出力フラグがONであるか否かを判定する。「A」というSymbolの辞書化対象データがSymbol情報として登録された場合、2ページの画像の辞書登録が終了していないことから、辞書情報出力フラグ設定部45は、辞書情報出力フラグをOFFに設定する。ゲート58は、辞書情報出力フラグがOFFに設定されている場合、辞書バッファ43のSymbol情報バッファ56にバッファリングされているSymbol情報とSymbol位置情報バッファ57にバッファリングされているSymbol位置情報の圧縮符号化部46に出力せずに、辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57を初期化しないための初期化OFF信号を辞書バッファ初期化部59に出力する。これにより、辞書バッファ初期化部59は、辞書バッファ43を初期化するための初期化信号を生成せず、辞書バッファ初期化部59は、辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57を初期化しない。
In
その後、処理は動作1に戻る。
Thereafter, the processing returns to
次に、辞書化対象データ抽出部40は、図6に示される1ページ目の画像データから辞書化対象データを抽出する。このとき、辞書化対象データ抽出部40は、すでに行われた辞書化処理によって登録されたSymbolを除外して辞書化対象データを抽出する。辞書化対象データ抽出部40は、図6に示される1ページの画像データの中から左から右と上から下に黒画素を探索し、(6,0)の位置の黒画素を検出する。辞書化対象データ抽出部40は、検出された(6,0)の位置の黒画素の連結成分を抽出することにより、図6に示される1ページの画像データの中から「B」という辞書化対象データを抽出する。
Next, the lexical object
なお、辞書化対象データ抽出部40は、すでに行われた辞書化処理によって登録されたSymbolを除外して辞書化対象データを抽出するために、辞書化対象データ抽出部40に入力される画像データから登録されたSymbolを除外しておいてもよい。
Note that the lexicalization target
その後、処理は動作2に進み、辞書バッファ43のSymbol情報バッファ56には「A」というSymbolは保持されているがまだ「B」というSymbolが保持されていないことから、動作2においてSymbol比較部51は、辞書化対象データと、辞書バッファ43に一時的に保持されているいずれのSymbol情報とも一致していないと判定する。そして、動作3において、Symbol情報・ID登録部53は、辞書化対象データ(「B」というSymbol)を新規のSymbol情報として登録するとともに、登録されたSymbol情報に対してID番号(ID2)を割り当てる。ID・Symbol位置情報登録部54は、登録する辞書化対象データ(「B」というSymbol)が画像中のいずれの場所に存在するかを示すSymbol位置情報(1ページ目の(6,0)の位置情報)をID番号(ID2)と対応付けて登録する。
Thereafter, the processing proceeds to
辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57は、Symbol情報・Symbol位置情報登録部42からのSymbol情報とSymbol位置情報をバッファリングする。図8は、辞書バッファ43の状態2を示している。その後、処理は動作1に戻る。
The
さらに同様に、辞書化対象データ抽出部40は、図6に示される1ページの画像データの中から左から右と上から下に黒画素を探索し、(12,0)の位置の黒画素を検出する。辞書化対象データ抽出部40は、検出された(12,0)の位置の黒画素の連結成分を抽出することにより、図6に示される1ページの画像データの中から「C」という辞書化対象データを抽出する。
Similarly, the lexicographic object
その後、処理は動作2に進み、辞書バッファ43のSymbol情報バッファ56には「A」と「B」というSymbolは保持されているがまだ「C」というSymbolが保持されていないことから、動作2においてSymbol比較部51は、辞書化対象データと、辞書バッファ43に一時的に保持されているいずれのSymbol情報とも一致していないと判定する。そして、動作3において、Symbol情報・ID登録部53は、辞書化対象データ(「C」というSymbol)を新規のSymbol情報として登録するとともに、登録されたSymbol情報に対してID番号(ID3)を割り当てる。ID・Symbol位置情報登録部54は、登録する辞書化対象データ(「C」というSymbol)が画像中のいずれの場所に存在するかを示すSymbol位置情報(1ページ目の(12,0)の位置情報)をID番号(ID3)と対応付けて登録する。
Thereafter, the processing proceeds to
辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57は、Symbol情報・Symbol位置情報登録部42からのSymbol情報とSymbol位置情報をバッファリングする。図9は、辞書バッファ43の状態3を示している。
The
続いて、1ページの画像の辞書登録が終了したことから、図6に示される2ページ目の画像の辞書登録を行う。辞書化対象データ抽出部40は、図6に示される2ページ目の画像データから辞書化対象データを抽出する。辞書化対象データ抽出部40は、図6に示される2ページの画像データの中から左から右と上から下に黒画素を探索し、(0,0)の位置の黒画素を検出する。辞書化対象データ抽出部40は、検出された(0,0)の位置の黒画素の連結成分を抽出することにより、図6に示される2ページの画像データの中から「B」という辞書化対象データを抽出する。
Subsequently, since the dictionary registration of the image of the first page is completed, the dictionary registration of the image of the second page shown in FIG. 6 is performed. The lexicalization target
その後、処理は動作2に進み、辞書バッファ43のSymbol情報バッファ56には「A」、「B」および「C」というSymbolが保持されており、すでに「B」というSymbolが保持されていることから、動作2においてSymbol比較部51は、辞書化対象データと、辞書バッファ43に一時的に保持されているいずれかのSymbol情報と一致していると判定する。すなわち、Symbol比較部51は、辞書化対象データとしての「B」というSymbolと、辞書バッファ43に一時的に保持されている1ページ目の「B」というSymbolと一致していると判定する。そして、動作4において、ID・Symbol位置情報登録部54は、登録する辞書化対象データ(「B」というSymbol)が画像中のいずれの場所に存在するかを示すSymbol位置情報(2ページ目の(0,0)の位置情報)を、1ページ目の「B」というSymbolを識別するためのID番号(ID2)と対応付けて登録する。
Thereafter, the processing proceeds to
辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57は、Symbol情報・Symbol位置情報登録部42からのSymbol情報とSymbol位置情報をバッファリングする。図10は、辞書バッファ43の状態4を示している。その後、処理は動作1に戻る。
The
次に、辞書化対象データ抽出部40は、図6に示される2ページ目の画像データから辞書化対象データを抽出する。辞書化対象データ抽出部40は、図6に示される2ページの画像データの中から左から右と上から下に黒画素を探索し、(6,0)の位置の黒画素を検出する。辞書化対象データ抽出部40は、検出された(6,0)の位置の黒画素の連結成分を抽出することにより、図6に示される2ページの画像データの中から「A」という辞書化対象データを抽出する。
Next, the lexical object
その後、処理は動作2に進み、辞書バッファ43のSymbol情報バッファ56には「A」、「B」および「C」というSymbolが保持されており、すでに「A」というSymbolが保持されていることから、動作2においてSymbol比較部51は、辞書化対象データと、辞書バッファ43に一時的に保持されているいずれかのSymbol情報と一致していると判定する。すなわち、Symbol比較部51は、辞書化対象データとしての「A」というSymbolと、辞書バッファ43に一時的に保持されている1ページ目の「A」というSymbolと一致していると判定する。そして、動作4において、ID・Symbol位置情報登録部54は、登録する辞書化対象データ(「B」というSymbol)が画像中のいずれの場所に存在するかを示すSymbol位置情報(2ページ目の(6,0)の位置情報)を、1ページ目の「A」というSymbolを識別するためのID番号(ID1)と対応付けて登録する。
Thereafter, the process proceeds to
辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57は、Symbol情報・Symbol位置情報登録部42からのSymbol情報とSymbol位置情報をバッファリングする。図11は、辞書バッファ43の状態5を示している。その後、処理は動作1に戻る。
The
さらに、辞書化対象データ抽出部40は、図6に示される2ページ目の画像データから辞書化対象データを抽出する。辞書化対象データ抽出部40は、図6に示される2ページの画像データの中から左から右と上から下に黒画素を探索し、(12,0)の位置の黒画素を検出する。辞書化対象データ抽出部40は、検出された(12,0)の位置の黒画素の連結成分を抽出することにより、図6に示される2ページの画像データの中から「D」という辞書化対象データを抽出する。
Further, the lexicalization target
その後、処理は動作2に進み、辞書バッファ43のSymbol情報バッファ56にはまだ「D」というSymbolが保持されていないことから、Symbol比較部51は、辞書化対象データと、辞書バッファ43に一時的に保持されているいずれのSymbol情報とも一致していないと判定する。
Thereafter, the process proceeds to
動作2においてSymbol一致判定部41のSymbol比較部51が、辞書化対象データと、辞書バッファ43に一時的に保持されているいずれのSymbol情報とも一致していないと判定した場合、Symbol一致判定部41のSymbol比較部51は、一致判定結果をSymbol比較結果出力部52に出力する。Symbol比較結果出力部52は、Symbol比較部51からの一致判定結果を取得し、取得された一致判定結果をSymbol情報・Symbol位置情報登録部42に出力する。動作3において、Symbol情報・ID登録部53は、辞書化対象データ(「D」というSymbol)を新規のSymbol情報として登録するとともに、登録されたSymbol情報に対してID番号を割り当てる。具体的には、Symbol情報・ID登録部53は、辞書化対象データ(「D」というSymbol)を新規のSymbol情報として登録するとともに、登録されたSymbol情報に対してID番号(ID4)を割り当てる。ID・Symbol位置情報登録部54は、登録する辞書化対象データ(「D」というSymbol)が画像中のいずれの場所に存在するかを示すSymbol位置情報(2ページ目の(12,0)の位置情報)をID番号(ID4)と対応付けて登録する。
When the
ID・Symbol位置情報登録部54は、登録されたSymbol位置情報とID番号を辞書バッファ43のSymbol位置情報バッファ57に出力する。辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57は、Symbol情報・Symbol位置情報登録部42からのSymbol情報とSymbol位置情報をバッファリングする。図12は、辞書バッファ43の状態6を示している。
The ID / Symbol position
動作5において、辞書情報出力部44のゲート58は、辞書情報出力フラグがONであるか否かを判定する。「D」というSymbolの辞書化対象データがSymbol情報として登録された場合、2ページの画像の辞書登録が終了したことから、辞書情報出力フラグ設定部45は、辞書情報出力フラグをONに設定する。ゲート58は動作6で、辞書情報出力フラグがONに設定されている場合、辞書バッファ43のSymbol情報バッファ56にバッファリングされているSymbol情報とSymbol位置情報バッファ57にバッファリングされているSymbol位置情報を圧縮符号化部46に出力するとともに、辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57を初期化するための初期化ON信号を辞書バッファ初期化部59に出力する。圧縮符号化部46は、辞書情報出力部44のゲート58からのSymbol情報とSymbol位置情報を取得し、取得されたSymbol情報とSymbol位置情報を圧縮符号化する。なお、辞書情報出力フラグ設定部45は、辞書バッファ43のSymbol情報バッファ56にバッファリングされているSymbol情報とSymbol位置情報バッファ57にバッファリングされているSymbol位置情報を圧縮符号化部46に出力した後、辞書情報出力フラグをOFFに設定する。
In
動作7において、辞書バッファ初期化部59は、辞書バッファ43を初期化するための初期化信号を生成し、生成された初期化信号を辞書バッファ43に出力し、辞書バッファ43のSymbol情報バッファ56とSymbol位置情報バッファ57を初期化する。
In operation 7, the dictionary
これにより、ユーザが辞書化処理前に操作パネル17を操作することによって辞書化単位ページ数に関するパラメータを指定することで、辞書情報の圧縮符号化部46への出力および辞書バッファ43の初期化のタイミングを任意に設定することができる。従って、既知の1ページ単位で1つの辞書を作成したり、マルチページスキャンによって全ページを1つのファイルにした上で1つの辞書を作成することができる。また、ユーザが所望する任意のタイミングでこまめに辞書バッファ43を初期化することができるので、辞書バッファ43を節約して使用することができる。その結果、ワークメモリを十分に確保することができない状況下においても、好適に辞書化処理を実行することができる。以上により、バッファ使用量の増加を抑制するだけでなく、辞書とのマッチングに要する時間を低減しつつ、データを好適に圧縮することができる。特に、1ページごとに1つの辞書を作成するようにすると、辞書バッファ43のメモリ領域の量を抑えることができる。また、全ページで1つの辞書を作成するようにすると、ファイルサイズを最小限することができる。さらに、数ページごとに1つの辞書を作成するようにすると、辞書バッファ43のメモリ領域の量を抑えつつ、ファイルサイズを小さくすることができる。
As a result, the user operates the operation panel 17 before lexicographic processing to specify parameters relating to the number of lexicographic unit pages, whereby the dictionary information is output to the
勿論、図5のフローチャートを用いて説明した辞書化処理の場合、説明を簡略するために、図6に示されるようにスキャン部16が2ページの原稿をスキャンして1ページ目の画像と2ページの画像を辞書化する場合を想定したが、例えば10ページの画像を辞書化する場合に、2ページの画像の辞書登録が終了する度に辞書情報出力フラグをONに設定しつつ、10ページの画像の辞書化処理を実行することができる。
Of course, in the case of the dictionary processing described with reference to the flowchart of FIG. 5, to simplify the description, as shown in FIG. 6, the
[第2実施形態]
図13は、制御部11により実行することが可能な機能的な構成を表している。図13に示されるように、画像処理装置1は、本発明の特徴的な構成として、辞書化対象データ抽出部40、Symbol一致判定部41、Symbol情報・Symbol位置情報登録部42、辞書バッファ43、辞書情報出力部44、辞書情報出力フラグ設定部45、および圧縮符号化部46を備える。これらの構成は、制御部11のCPU21上でソフトウェアとして実装される。なお、図2に対応する構成については同様の符号を付しており、その説明は繰り返しになるので省略する。
[Second Embodiment]
FIG. 13 illustrates a functional configuration that can be executed by the
辞書情報出力フラグ設定部45は、辞書化タイミング判定部61と演算部62からなる。辞書情報出力フラグ設定部45は、ユーザにより操作パネル17が操作されることにより入力された辞書化単位ページ数に関するパラメータおよび処理ページ数に関するパラメータに基づいて、辞書情報出力フラグをONまたはOFFに設定する。具体的には、辞書化タイミング判定部61は、辞書化単位ページ数に関するパラメータおよび処理ページ数に関するパラメータに基づいて辞書化タイミングであるか否かを判定し、辞書化のタイミングであると判定した場合には辞書情報出力フラグをONに設定する。すなわち、辞書化処理を実行する総ページ数が5ページであり、かつ辞書化単位ページ数が3ページである場合、辞書化タイミング判定部61は、現在辞書化しているページ数が3ページ目であるときには、辞書化のタイミングであると判定して辞書情報出力フラグをONに設定するとともに、それ以外のときには、辞書化のタイミングではないと判定して辞書情報出力フラグをOFFに設定する。辞書化タイミング判定部61は、辞書化単位ページ数に基づく辞書情報出力フラグのON/OFF設定信号を演算部62に出力する。一方、辞書情報出力フラグ設定部45は、現在辞書化しているページが最終ページである場合、最終処理判定フラグをONに設定するとともに、それ以外の場合には、最終処理判定フラグをOFFに設定する。この最終処理判定フラグのON/OFF設定信号は演算部62に入力される。演算部62は、辞書化タイミング判定部61からの辞書化単位ページ数に基づく辞書情報出力フラグのON/OFF設定信号と最終処理判定フラグのON/OFF設定信号に基づいてOR演算処理を施し、演算結果を辞書情報出力フラグの設定信号として辞書情報出力部44に出力する。
The dictionary information output
図14は、処理ページ数、辞書化単位ページ数、辞書化単位ページ数に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグの対応関係を示すテーブルである。図14に示されるように、辞書化処理を実行する総ページ数が5ページであり、かつ辞書化単にページ数が3ページである場合、現在の処理ページ数が「1」のときには、辞書化単位ページ数に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「OFF」、「OFF」、および「OFF」となる。現在の処理ページ数が「2」のときには、辞書化単位ページ数に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「OFF」、「OFF」、および「OFF」となる。現在の処理ページ数が「3」のときには、辞書化単位ページ数に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「ON」、「OFF」、および「ON」となる。現在の処理ページ数が「4」のときには、辞書化単位ページ数に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「OFF」、「OFF」、および「OFF」となる。現在の処理ページ数が「5」のときには、辞書化単位ページ数に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「OFF」、「ON」、および「ON」となる。 FIG. 14 is a table showing a correspondence relationship between the number of processed pages, the number of lexicized unit pages, the dictionary information output flag based on the number of lexicized unit pages, the final processing determination flag, and the dictionary information output flag. As shown in FIG. 14, when the total number of pages for which lexicographic processing is executed is 5 pages and the number of pages is simply 3 pages, when the current number of processed pages is “1”, lexicization is performed. The dictionary information output flag, final processing determination flag, and dictionary information output flag based on the number of unit pages are “OFF”, “OFF”, and “OFF”, respectively. When the current processing page number is “2”, the dictionary information output flag, the final processing determination flag, and the dictionary information output flag based on the number of lexicographic unit pages are “OFF”, “OFF”, and “OFF”, respectively. . When the current processing page number is “3”, the dictionary information output flag, the final processing determination flag, and the dictionary information output flag based on the number of lexicographic unit pages are “ON”, “OFF”, and “ON”, respectively. . When the current processing page number is “4”, the dictionary information output flag, the final processing determination flag, and the dictionary information output flag based on the number of lexicographic unit pages are “OFF”, “OFF”, and “OFF”, respectively. . When the current processing page number is “5”, the dictionary information output flag, the final processing determination flag, and the dictionary information output flag based on the number of lexicographic unit pages are “OFF”, “ON”, and “ON”, respectively. .
従って、辞書化処理を実行する総ページ数が5ページであり、かつ辞書化単にページ数が3ページである場合には、3ページ目と5ページ目に辞書バッファ43に辞書登録されたSymbol情報とSymbol位置情報が圧縮符号化部46に出力されるとともに、辞書バッファ43にバッファリングされたSymbol情報とSymbol位置情報が初期化される。なお、図13に示される画像処理装置1の場合であっても、辞書化処理は図5に示される処理と同様である。但し、図2の画像処理装置1の場合は、辞書バッファ43に辞書登録されたSymbol情報とSymbol位置情報の符号化と初期化のタイミングが異なることとなる。
Therefore, when the total number of pages for executing the dictionary processing is 5 pages and the number of pages is simply 3 pages, the symbol information registered in the
これにより、一定ページ数ごとに辞書化することができるとともに、最終ページにおいても辞書化のタイミングを制御することができる。なお、図13と図14の場合、処理ページ数に関するパラメータを操作パネル17上から受け付けるようにしているが、このような場合に限られず、画像処理装置1の制御部11においてページ数をカウントアップするようにしてもよい。また、処理ページ数に限られず、処理領域単位(例えば1ページの半分の領域や3分の1の領域など)で辞書化するようにしてもよい。以上により、ユーザが所望する任意のタイミングでこまめに辞書バッファ43を初期化することができるので、辞書バッファ43を節約して使用することができる。その結果、ワークメモリ量をより効率的に削減する確保することができる。そして、ユーザは、簡単に符合量や使用メモリ量のバランスを任意に調整することができる。従って、バッファ使用量の増加を抑制するだけでなく、辞書とのマッチングに要する時間を低減しつつ、データを好適に圧縮することができる。
Thereby, it is possible to create a dictionary for each predetermined number of pages, and it is possible to control the timing of dictionary formation on the last page. 13 and 14, parameters related to the number of processed pages are received from the operation panel 17. However, the present invention is not limited to this, and the
[第3実施形態]
図15は、制御部11により実行することが可能な機能的な構成を表している。図15に示されるように、画像処理装置1は、本発明の特徴的な構成として、辞書化対象データ抽出部40、Symbol一致判定部41、Symbol情報・Symbol位置情報登録部42、辞書バッファ43、辞書情報出力部44、辞書情報出力フラグ設定部45、および圧縮符号化部46を備える。これらの構成は、制御部11のCPU21上でソフトウェアとして実装される。なお、図2と図13に対応する構成については同様の符号を付しており、その説明は繰り返しになるので適宜省略する。
[Third Embodiment]
FIG. 15 illustrates a functional configuration that can be executed by the
辞書情報出力フラグ設定部45は、辞書化タイミング判定部61と演算部62からなる。辞書情報出力フラグ設定部45は、辞書バッファ43からの辞書バッファ使用量および辞書バッファ許容量に基づいて、辞書情報出力フラグをONまたはOFFに設定する。具体的には、辞書化タイミング判定部61は、辞書バッファ43からの辞書バッファ使用量および辞書バッファ許容量に基づいて辞書化タイミングであるか否かを判定し、辞書化のタイミングであると判定した場合には辞書情報出力フラグをONに設定する。すなわち、辞書バッファ43からの辞書バッファ許容量が100KBである場合、辞書化タイミング判定部61は、辞書バッファ使用量が105KBであるときには辞書バッファ使用量が辞書バッファ許容量よりも大きいことから、辞書化のタイミングであると判定して辞書情報出力フラグをONに設定するとともに、辞書バッファ使用量が辞書バッファ許容量以下のときには、辞書化のタイミングではないと判定して辞書情報出力フラグをOFFに設定する。辞書化タイミング判定部61は、辞書バッファ使用量に基づく辞書情報出力フラグのON/OFF設定信号を演算部62に出力する。なお、辞書バッファ43は辞書バッファ使用量を管理しており、辞書バッファの使用に応じて辞書バッファ使用量を逐次インクリメントする。また、辞書バッファ43の使用量として、辞書バッファ43のSymbol情報バッファ56の使用量を用いてもよいし、辞書バッファ43のSymbol位置情報バッファ57の使用量を用いてもよいし、両方の使用量を合わせた辞書バッファ43の全体の使用量を用いるようにしてもよい。
The dictionary information output
一方、辞書情報出力フラグ設定部45は、現在辞書化しているページが最終ページである場合、最終処理判定フラグをONに設定するとともに、それ以外の場合には、最終処理判定フラグをOFFに設定する。この最終処理判定フラグのON/OFF設定信号は演算部62に入力される。演算部62は、辞書化タイミング判定部61からの辞書バッファ使用量に基づく辞書情報出力フラグのON/OFF設定信号と最終処理判定フラグのON/OFF設定信号に基づいてOR演算処理を施し、演算結果を辞書情報出力フラグの設定信号として辞書情報出力部44に出力する。なお、辞書バッファ使用量が辞書バッファ許容量を超える前に、辞書バッファ43に辞書登録されたSymbol情報とSymbol位置情報の符号化および初期化を行うようにしてもよい。
On the other hand, the dictionary information output
図16は、処理ページ数、辞書バッファ使用量、辞書バッファ許容量、辞書バッファ使用量に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグの対応関係を示すテーブルである。図16に示されるように、辞書バッファ許容量が100KBである合、現在の辞書バッファ使用量が「30KB」のときには、辞書バッファ使用量に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「OFF」、「OFF」、および「OFF」となる。現在の辞書バッファ使用量が「70KB」のときには、辞書バッファ使用量に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「OFF」、「OFF」、および「OFF」となる。現在の辞書バッファ使用量が「105KB」のときには、辞書バッファ使用量に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「ON」、「OFF」、および「ON」となる。現在の辞書バッファ使用量が「45KB」のときには、辞書バッファ使用量に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「OFF」、「OFF」、および「OFF」となる。現在の辞書バッファ使用量が「70KB」であっても現在の処理ページ数が最終ページのときには、辞書バッファ使用量に基づく辞書情報出力フラグ、最終処理判定フラグ、および辞書情報出力フラグはそれぞれ「OFF」、「ON」、および「ON」となる。 FIG. 16 is a table showing the correspondence between the number of processed pages, dictionary buffer usage, dictionary buffer allowable amount, dictionary information output flag based on dictionary buffer usage, final processing determination flag, and dictionary information output flag. As shown in FIG. 16, when the dictionary buffer allowable amount is 100 KB, and the current dictionary buffer usage amount is “30 KB”, the dictionary information output flag, final processing determination flag, and dictionary information based on the dictionary buffer usage amount The output flags are “OFF”, “OFF”, and “OFF”, respectively. When the current dictionary buffer usage is “70 KB”, the dictionary information output flag, final processing determination flag, and dictionary information output flag based on the dictionary buffer usage are “OFF”, “OFF”, and “OFF”, respectively. . When the current dictionary buffer usage amount is “105 KB”, the dictionary information output flag, final processing determination flag, and dictionary information output flag based on the dictionary buffer usage amount are “ON”, “OFF”, and “ON”, respectively. . When the current dictionary buffer usage amount is “45 KB”, the dictionary information output flag, final processing determination flag, and dictionary information output flag based on the dictionary buffer usage amount are “OFF”, “OFF”, and “OFF”, respectively. . If the current dictionary buffer usage is “70 KB” and the current number of processed pages is the last page, the dictionary information output flag, final processing determination flag, and dictionary information output flag based on the dictionary buffer usage are each set to “OFF”. ”,“ ON ”, and“ ON ”.
従って、辞書化処理を実行する総ページ数が5ページである場合に、辞書バッファ43の使用量が辞書バッファ許容量を超えたときと最終ページのときには、辞書バッファ43に辞書登録されたSymbol情報とSymbol位置情報が圧縮符号化部46に出力されるとともに、辞書バッファ43にバッファリングされたSymbol情報とSymbol位置情報が初期化される。なお、図13に示される画像処理装置1の場合であっても、辞書化処理は図5に示される処理と同様である。
Accordingly, when the total number of pages to be subjected to lexicographic processing is 5, when the usage amount of the
これにより、辞書バッファ43の使用量を管理しながら辞書バッファ43を効率的に利用し、一定の辞書バッファ43の許容量を基準にして辞書化することができるとともに、最終ページにおいても辞書化のタイミングを制御することができる。特に、辞書バッファ43のSymbol情報バッファ56の使用量や辞書バッファ43のSymbol位置情報バッファ57の使用量が決められている場合に有効となる。その結果、ワークメモリ量をより効率的に削減する確保することができる。従って、バッファ使用量の増加を抑制するだけでなく、辞書とのマッチングに要する時間を低減しつつ、データを好適に圧縮することができる。
As a result, the
なお、本発明の実施形態において説明した一連の処理は、ソフトウェアにより実行させることもできるが、ハードウェアにより実行させることもできる。 The series of processes described in the embodiments of the present invention can be executed by software, but can also be executed by hardware.
また、本発明の実施形態では、フローチャートのステップは、記載された順序に沿って時系列的に行われる処理の例を示したが、必ずしも時系列的に処理されなくとも、並列的あるいは個別実行される処理をも含むものである。 In the embodiment of the present invention, the steps of the flowchart show an example of processing that is performed in time series in the order described. However, even if they are not necessarily processed in time series, they are executed in parallel or individually. The processing to be performed is also included.
1…画像処理装置、11…制御部、12…プリンタ駆動部、13…画像データインタフェース、14…ページメモリ、15…画像処理部、16…スキャナ部、17…操作パネル、21…CPU、22…ROM、23…RAM、24…バス、25…HDD、26…外部通信部、31…パネル制御部、32…表示部、33…操作キー、40…辞書化対象データ抽出部、41…Symbol一致判定部、42…Symbol情報・Symbol位置情報登録部、43…辞書バッファ、44…辞書情報出力部、45…辞書情報出力フラグ設定部、46…圧縮符号化部、51…Symbol比較部、52…Symbol比較結果出力部、53…Symbol情報・ID登録部、54…ID・Symbol位置情報登録部、55…セレクタ、56…Symbol情報バッファ、57…Symbol位置情報バッファ、58…ゲート、59…辞書バッファ初期化部、61…辞書化タイミング判定部、62…演算部。
DESCRIPTION OF
Claims (10)
前記画像データから辞書化対象データを抽出する抽出部と、
前記抽出部により抽出された前記辞書化対象データをSymbol情報として登録し、前記Symbol情報に対して識別情報を割り当てるとともに、前記Symbol情報が画像データ中のいずれの場所に存在するかを示すSymbol位置情報を前記識別情報と対応付けて登録する登録部と、
前記登録部によって登録された前記Symbol情報および前記Symbol位置情報を保持する辞書バッファと、
前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を所定の符号化方式を用いて圧縮符号化する圧縮符号化部と、
辞書化された原稿の枚数が所定の単位枚数に達したか否かに基づいて、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を前記圧縮符号化部に出力するか否かに関する出力有無情報を第1の状態または第2の状態に設定する設定部と、
前記設定部によって前記出力有無情報が前記第1の状態に設定された場合、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を前記圧縮符号化部に出力する出力部とを備え、
前記抽出部によって抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれかの前記Symbol情報と一致する場合、前記登録部は、前記辞書化対象データを新たなSymbol情報として登録せずに、前記辞書化対象データと一致する前記Symbol情報に割り当てられた前記識別情報と対応付けて前記Symbol位置情報を登録する一方、前記抽出部によって抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれの前記Symbol情報とも一致しない場合、前記登録部は、前記辞書化対象データを新たなSymbol情報として登録し、前記Symbol情報に対して前記識別情報を割り当てるとともに、前記Symbol位置情報を前記識別情報と対応付けて登録することを特徴とする画像処理装置。 A scanning unit that reads image data relating to the document;
An extraction unit for extracting data to be dictionaryd from the image data;
The lexicographic target data extracted by the extraction unit is registered as Symbol information, identification information is assigned to the Symbol information, and a Symbol position indicating where the Symbol information is present in the image data A registration unit for registering information in association with the identification information;
A dictionary buffer that holds the symbol information and the symbol position information registered by the registration unit;
A compression encoding unit that compresses and encodes the Symbol information and Symbol position information held in the dictionary buffer using a predetermined encoding method;
Whether to output the symbol information and the symbol position information held in the dictionary buffer to the compression encoding unit based on whether or not the number of lexicographic originals reaches a predetermined unit number A setting unit for setting the output presence / absence information to the first state or the second state;
An output unit configured to output the symbol information and the symbol position information held in the dictionary buffer to the compression encoding unit when the output presence / absence information is set to the first state by the setting unit;
When the lexical object data extracted by the extraction unit matches any of the Symbol information held in the dictionary buffer, the registration unit does not register the lexical object data as new Symbol information. The symbol position information is registered in association with the identification information assigned to the symbol information that matches the dictionary target data, while the dictionary target data extracted by the extraction unit is stored in the dictionary buffer. If it does not match any of the held symbol information, the registration unit registers the data to be dictionaryd as new symbol information, assigns the identification information to the symbol information, and sets the symbol position information. An image processing apparatus that registers and associates with the identification information.
前記画像データから辞書化対象データを抽出し、
抽出された前記辞書化対象データをSymbol情報として登録し、前記Symbol情報に対して識別情報を割り当てるとともに、前記Symbol情報が画像データ中のいずれの場所に存在するかを示すSymbol位置情報を前記識別情報と対応付けて登録し、
登録された前記Symbol情報および前記Symbol位置情報を保持し、
保持される前記Symbol情報および前記Symbol位置情報を所定の符号化方式を用いて圧縮符号化し、
辞書化された原稿の枚数が所定の単位枚数に達したか否かに基づいて、保持される前記Symbol情報および前記Symbol位置情報を出力するか否かに関する出力有無情報を第1の状態または第2の状態に設定し、
前記出力有無情報が前記第1の状態に設定された場合、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を出力し、
抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれかの前記Symbol情報と一致する場合、前記辞書化対象データを新たなSymbol情報として登録せずに、前記辞書化対象データと一致する前記Symbol情報に割り当てられた前記識別情報と対応付けて前記Symbol位置情報を登録する一方、抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれの前記Symbol情報とも一致しない場合、前記辞書化対象データを新たなSymbol情報として登録し、前記Symbol情報に対して前記識別情報を割り当てるとともに、前記Symbol位置情報を前記識別情報と対応付けて登録することを特徴とする画像処理方法。 Scan image data about the document,
Extracting dictionary data from the image data,
Registering the extracted data to be dictionaryd as symbol information, assigning identification information to the symbol information, and identifying the symbol position information indicating where in the image data the symbol information exists Registered in association with information,
Hold the registered Symbol information and Symbol position information,
The symbol information and the symbol position information held are compression encoded using a predetermined encoding method,
Based on whether or not the number of lexicographic originals has reached a predetermined unit number, the presence / absence information on whether or not to output the symbol information and the symbol position information to be held is displayed in the first state or the first state. Set to state 2
When the output presence / absence information is set to the first state, the Symbol information and Symbol position information held in the dictionary buffer are output,
When the extracted lexical object data matches with any of the Symbol information held in the dictionary buffer, the lexical object data matches with the lexical object data without registering the lexical object data as new Symbol information. When the symbol position information is registered in association with the identification information assigned to the Symbol information, the extracted data to be dictionaryd does not match any of the Symbol information held in the dictionary buffer, An image processing method comprising: registering the lexical data as new symbol information, assigning the identification information to the symbol information, and registering the symbol position information in association with the identification information.
前記画像データから辞書化対象データを抽出する抽出部と、
前記抽出部により抽出された前記辞書化対象データをSymbol情報として登録し、前記Symbol情報に対して識別情報を割り当てるとともに、前記Symbol情報が画像データ中のいずれの場所に存在するかを示すSymbol位置情報を前記識別情報と対応付けて登録する登録部と、
前記登録部によって登録された前記Symbol情報および前記Symbol位置情報を保持する辞書バッファと、
前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を所定の符号化方式を用いて圧縮符号化する圧縮符号化部と、
辞書化された原稿の枚数が所定の単位枚数に達したか否かに基づいて、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を前記圧縮符号化部に出力するための出力制御信号を生成する生成部と、
前記生成部によって生成された前記出力制御信号に従い、前記辞書バッファに保持される前記Symbol情報および前記Symbol位置情報を前記圧縮符号化部に出力する出力部とを備え、
前記抽出部によって抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれかの前記Symbol情報と一致する場合、前記登録部は、前記辞書化対象データを新たなSymbol情報として登録せずに、前記辞書化対象データと一致する前記Symbol情報に割り当てられた前記識別情報と対応付けて前記Symbol位置情報を登録する一方、前記抽出部によって抽出された前記辞書化対象データが前記辞書バッファに保持されるいずれの前記Symbol情報とも一致しない場合、前記登録部は、前記辞書化対象データを新たなSymbol情報として登録し、前記Symbol情報に対して前記識別情報を割り当てるとともに、前記Symbol位置情報を前記識別情報と対応付けて登録することを特徴とする画像処理装置。 A scanning unit that reads image data relating to the document;
An extraction unit for extracting data to be dictionaryd from the image data;
The lexicographic target data extracted by the extraction unit is registered as Symbol information, identification information is assigned to the Symbol information, and a Symbol position indicating where the Symbol information is present in the image data A registration unit for registering information in association with the identification information;
A dictionary buffer that holds the symbol information and the symbol position information registered by the registration unit;
A compression encoding unit that compresses and encodes the Symbol information and Symbol position information held in the dictionary buffer using a predetermined encoding method;
Output control for outputting the symbol information and the symbol position information held in the dictionary buffer to the compression encoding unit based on whether the number of lexicographic originals reaches a predetermined unit number A generator for generating a signal;
In accordance with the output control signal generated by the generation unit, an output unit that outputs the Symbol information and Symbol position information held in the dictionary buffer to the compression encoding unit,
When the lexical object data extracted by the extraction unit matches any of the Symbol information held in the dictionary buffer, the registration unit does not register the lexical object data as new Symbol information. The symbol position information is registered in association with the identification information assigned to the symbol information that matches the dictionary target data, while the dictionary target data extracted by the extraction unit is stored in the dictionary buffer. If it does not match any of the held symbol information, the registration unit registers the data to be dictionaryd as new symbol information, assigns the identification information to the symbol information, and sets the symbol position information. An image processing apparatus that registers and associates with the identification information.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US2721008P | 2008-02-08 | 2008-02-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009188995A true JP2009188995A (en) | 2009-08-20 |
Family
ID=41076789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009002820A Pending JP2009188995A (en) | 2008-02-08 | 2009-01-08 | Image processing apparatus and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009188995A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014178840A1 (en) * | 2013-04-30 | 2014-11-06 | Hewlett-Packard Development Company, L.P. | Creation of a hierarchical dictionary |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05252047A (en) * | 1992-03-04 | 1993-09-28 | Fujitsu Ltd | Error control processing system in data compression/ decoding processing |
JPH06168096A (en) * | 1992-11-30 | 1994-06-14 | Fujitsu Ltd | Data encoding system and data decoding system |
JPH08130651A (en) * | 1994-10-28 | 1996-05-21 | Nippon Steel Corp | Compression and expansion system for two-dimension image data |
JP2003333341A (en) * | 2002-04-25 | 2003-11-21 | Microsoft Corp | Compression of bi-level image with explicit representation of ink cluster |
JP2006080944A (en) * | 2004-09-10 | 2006-03-23 | Fuji Xerox Co Ltd | Image dictionary preparing device, encoding device, and encoding method and its program |
-
2009
- 2009-01-08 JP JP2009002820A patent/JP2009188995A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05252047A (en) * | 1992-03-04 | 1993-09-28 | Fujitsu Ltd | Error control processing system in data compression/ decoding processing |
JPH06168096A (en) * | 1992-11-30 | 1994-06-14 | Fujitsu Ltd | Data encoding system and data decoding system |
JPH08130651A (en) * | 1994-10-28 | 1996-05-21 | Nippon Steel Corp | Compression and expansion system for two-dimension image data |
JP2003333341A (en) * | 2002-04-25 | 2003-11-21 | Microsoft Corp | Compression of bi-level image with explicit representation of ink cluster |
JP2006080944A (en) * | 2004-09-10 | 2006-03-23 | Fuji Xerox Co Ltd | Image dictionary preparing device, encoding device, and encoding method and its program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014178840A1 (en) * | 2013-04-30 | 2014-11-06 | Hewlett-Packard Development Company, L.P. | Creation of a hierarchical dictionary |
US10248666B2 (en) | 2013-04-30 | 2019-04-02 | Hewlett-Packard Development Company, L.P. | Creation of hierarchical dictionary |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8229238B2 (en) | Image encoding apparatus, image processing apparatus and control method thereof | |
US8660347B2 (en) | Image processing apparatus and processing method therefor | |
US8553301B2 (en) | Image processing apparatus, method, and program product to perform color-reduction processing for a block | |
JPH07327134A (en) | Image processor and its method | |
JP4956304B2 (en) | Image encoding apparatus, control method therefor, computer program, and computer-readable storage medium | |
JP3461309B2 (en) | Huffman coded data compression device | |
JP3278298B2 (en) | Bitmap data compression method and compression apparatus | |
KR20060120043A (en) | Split runlength encoding method and apparatus | |
US20080112634A1 (en) | Method and apparatus for image processing | |
EP0902398B1 (en) | Method and system for compressing and decompressing binary representations of dithered images | |
JP2008042685A (en) | Image processor and processing method, computer program and computer readable storage medium | |
JP2009188995A (en) | Image processing apparatus and image processing method | |
US8494261B2 (en) | Image processing apparatus, image processing method, and computer-readable medium | |
JP4757172B2 (en) | Image coding apparatus and control method thereof | |
JP2003189108A (en) | Image compression method | |
JPH1117959A (en) | Run length coding method for binary image and recording medium storing run length coding program | |
CN110913223B (en) | Image decompression apparatus, control method thereof, and computer-readable storage medium | |
JP2013207777A (en) | Image compression apparatus | |
JP4435586B2 (en) | Data compression apparatus and data compression program | |
US9049404B2 (en) | Image processing apparatus and method that perform multiple image processes, and storage medium storing a program thereof, for decompressing a compressed image according to first and second information indicating image processing to be performed | |
JP3796235B2 (en) | Image compression and decompression method | |
JP4743883B2 (en) | Image coding apparatus and control method thereof | |
JP4944833B2 (en) | Image coding apparatus and control method thereof | |
JP2014099742A (en) | Color/monochromatic determination | |
JP2020129728A (en) | Image processing device and control method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100916 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20111121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120306 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120313 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120703 |