Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5663364B2 - Image forming apparatus and control method thereof - Google Patents
[go: Go Back, main page]

JP5663364B2 - Image forming apparatus and control method thereof - Google Patents

Image forming apparatus and control method thereof Download PDF

Info

Publication number
JP5663364B2
JP5663364B2 JP2011073303A JP2011073303A JP5663364B2 JP 5663364 B2 JP5663364 B2 JP 5663364B2 JP 2011073303 A JP2011073303 A JP 2011073303A JP 2011073303 A JP2011073303 A JP 2011073303A JP 5663364 B2 JP5663364 B2 JP 5663364B2
Authority
JP
Japan
Prior art keywords
image data
character image
character
area
compressed
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
Application number
JP2011073303A
Other languages
Japanese (ja)
Other versions
JP2011211712A (en
Inventor
明久 中村
明久 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba Tec Corp
Original Assignee
Toshiba Corp
Toshiba Tec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Tec Corp filed Critical Toshiba Corp
Publication of JP2011211712A publication Critical patent/JP2011211712A/en
Application granted granted Critical
Publication of JP5663364B2 publication Critical patent/JP5663364B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

本発明の実施形態は、画像データに対する例えば圧縮処理の機能を備えた画像形成装置およびその制御方法に関する。   Embodiments described herein relate generally to an image forming apparatus having a function of, for example, compression processing for image data, and a control method thereof.

複合型複写機(MFP)などの画像形成装置は、原稿からスキャンした画像データ、あるいはネットワーク接続された外部機器(いわゆるクライアント端末)から入力される画像データを、用紙にプリントしたり小さいサイズに圧縮して保存する(例えば特許文献1)。   An image forming apparatus such as a multifunction copying machine (MFP) prints image data scanned from a document or image data input from a network-connected external device (so-called client terminal) on paper or compresses it to a small size. (For example, Patent Document 1).

特開2009−71832号公報JP 2009-71832 A

画像データの圧縮には、より速い処理が望まれる。   Faster processing is desired for compression of image data.

本発明の実施形態の目的は、処理速度の向上が図れる画像形成装置およびその制御方法を提供することである。   An object of an embodiment of the present invention is to provide an image forming apparatus capable of improving the processing speed and a control method thereof.

本発明の実施形態の画像形成装置は、圧縮対象の画像データを復号する復号手段と、前記復号した画像データにおける文字画像領域のエッジを検出するエッジ検出手段と、前記復号した画像データにおける文字画像領域のレイアウトを前記エッジ検出手段の検出結果に基づき解析するレイアウト解析手段と、前記復号した画像データに含まれる複数の文字画像領域を前記レイアウト解析手段の解析結果に基づき検出し、検出した各文字画像領域における任意の2つの文字画像領域をそれぞれ圧縮処理した場合の文字画像データサイズとこれら2つの文字画像データにそれぞれ付加されるオーバーヘッドデータの容量との合計よりも、その2つの文字画像領域を包含する領域を圧縮処理した場合の文字画像データサイズと当該文字画像データに付加されるオーバーヘッドデータの容量との合計が小さいことを条件に、その2つの文字画像領域を1つの文字画像領域として統合する統合手段、を備える。 An image forming apparatus according to an embodiment of the present invention includes a decoding unit that decodes image data to be compressed, an edge detection unit that detects an edge of a character image region in the decoded image data, and a character image in the decoded image data Layout analysis means for analyzing the layout of the area based on the detection result of the edge detection means, and detecting a plurality of character image areas included in the decoded image data based on the analysis result of the layout analysis means; than the sum of the capacitance of the overhead data added respectively any two of the character image area in the character image data size and the two character image data when compressed, respectively, in the image area, the two character image region thereof the character image data size and the character image data when compressing the region encompassing On condition that the sum is small and the capacity of the overhead data to be pressurized, comprising integrating means for integrating the two character image areas thereof as one character image region.

本発明の一実施形態の構成を示すブロック図。The block diagram which shows the structure of one Embodiment of this invention. 一実施形態におけるCPUおよび画像処理プロセッサの処理機能のブロックを示す図。The figure which shows the block of the processing function of CPU and image processing processor in one Embodiment. 一実施形態におけるパフォーマンスモニタの負荷状況テーブルを示す図。The figure which shows the load condition table of the performance monitor in one Embodiment. 一実施形態におけるCPUの処理を示すフローチャート。The flowchart which shows the process of CPU in one Embodiment. 一実施形態における画像処理プロセッサの処理を示すフローチャート。The flowchart which shows the process of the image processor in one Embodiment. 一実施形態におけるパフォーマンスモニタの処理を示すフローチャート。The flowchart which shows the process of the performance monitor in one Embodiment. 一実施形態に関わる複数の文字領域の例を示す図。The figure which shows the example of the some character area in connection with one Embodiment.

以下、本発明の一実施形態について図面を参照して説明する。
図1において、1は画像形成装置たとえば複合型複写機(MFPという)である。このMFP1は、コピー機能、スキャン機能、プリント機能など複数の機能を併せ持つ。また、MFP1は、画像処理回路2、コントロールパネル3、スキャナ4、およびプリンタ(プリンタエンジンともいう)5を備える。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
In FIG. 1, reference numeral 1 denotes an image forming apparatus such as a composite copying machine (MFP). The MFP 1 has a plurality of functions such as a copy function, a scan function, and a print function. The MFP 1 includes an image processing circuit 2, a control panel 3, a scanner 4, and a printer (also referred to as a printer engine) 5.

上記画像処理回路2は、コントローラであるCPU10、データ転送用のデータバス11、プログラム記憶用のROM12、データ記憶用のメインメモリ(RAM)13、ハードディスクドライブ(HDD)14、コントロールパネルインタフェース(I/F)15、ファブリックネットワーク型インタフェース(I/F)16、および外部インタフェース(I/F)17、システムインタフェース(I/F)18a,18b,18c、画像処理プロセッサ20a,20b,20c、ローカルメモリ21a,21b,21c、およびパフォーマンスモニタ30を有する。コントロールパネル3は、MFP1の動作条件を設定したり、MFP1の動作状態を表示するもので、表示部3aおよび操作部3bを有する。スキャナ4は、MFP1にセットされる原稿の画像を光学的に読取る。プリンタ5は、画像データを用紙にプリントする。 The image processing circuit 2 includes a CPU 10 as a controller, a data bus 11 for data transfer, a ROM 12 for program storage, a main memory (RAM) 13 for data storage, a hard disk drive (HDD) 14, a control panel interface (I / I). F) 15, fabric network type interface (I / F) 16, and external interface (I / F) 17, system interfaces (I / F) 18a, 18b, 18c, image processors 20a, 20b, 20c, local memory 21a , 21b, 21c, and a performance monitor 30. The control panel 3 sets operation conditions of the MFP 1 and displays the operation state of the MFP 1, and includes a display unit 3a and an operation unit 3b. The scanner 4 optically reads an image of a document set on the MFP 1. The printer 5 prints image data on paper.

上記外部インタフェース17に、ネットワークケーブル40を介して複数のクライアント端末(例えばパーソナルコンピュータ)50を接続する。これらクライアント端末50は、内蔵の各種アプリケーションプログラム(ワープロ、表計算、プレゼンテーション、DTPソフトウェアなど)により画像データを生成し、生成した画像データをMFP1に送る。上記ファブリックネットワーク型インタフェース16は、スキャナ4のインタフェースおよびプリンタ5のインタフェースの形態に関係なく、かつ転送性能を劣化させることなく、接続を可能とするものである。   A plurality of client terminals (for example, personal computers) 50 are connected to the external interface 17 via a network cable 40. These client terminals 50 generate image data by various built-in application programs (word processor, spreadsheet, presentation, DTP software, etc.), and send the generated image data to the MFP 1. The fabric network type interface 16 can be connected regardless of the form of the interface of the scanner 4 and the interface of the printer 5 and without deteriorating the transfer performance.

上記画像処理プロセッサ20a,20b,20cは、ダイナミック・リコンフィグラブル・プロセッサ(DRP;動的再構成プロセッサともいう)であり、図2に示す文字圧縮処理部37および背景圧縮処理部38をCPU10からの指示に応じて選択的に形成することにより、後述の文字/背景分離処理部36で分離される文字画像データをMMR符号化により圧縮するとともに、同文字/背景分離処理部36で分離される背景画像データをJPEG符号化により圧縮する。   The image processors 20a, 20b, and 20c are dynamic reconfigurable processors (DRP; also referred to as a dynamic reconfiguration processor). The character compression processing unit 37 and the background compression processing unit 38 shown in FIG. The character image data separated by the character / background separation processing unit 36, which will be described later, is compressed by MMR encoding and separated by the character / background separation processing unit 36. The background image data is compressed by JPEG encoding.

上記パフォーマンスモニタ30は、画像処理プロセッサ20a,20b,20cのそれぞれの処理の負荷状況を検出する負荷状況検出手段として機能するもので、各画像処理プロセッサにおける作業実行の前後に発生するイベント(命令)の発生カウントするイベント発生力ウンタを有し、イベントの発生率を計算する。発生率が高ければ処理の負荷が大きく、発生率が低ければ処理の負荷が小さい。例えば、サンプル時間当りのイベント数をカウントするとともに、サンプル時間当りのクロック・サイクル数をカウントし、これらカウント数を使用した下式により、作業負荷の1サイクル当たりのイベント発生率(IPC)を計算する。
IPC=(サンプル時間当りのイベント数)/(サンプル時間当りのクロック・サイクル数)
また、パフォーマンスモニタ30は、検出した負荷状況を内部の図3に示す負荷状況テーブルに逐次に更新記憶する。すなわち、画像処理プロセッサ20a,20b,20cの負荷状況がそれぞれ10%である場合、点々で示すように、画像処理プロセッサ20a,20b,20cにそれぞれ対応する項目GP1,GP2,GP3の10%対応位置に論理“1”が格納される。画像処理プロセッサ20aの負荷状況が0%、画像処理プロセッサ20b,20cの負荷状況がそれぞれ50%である場合、斜線で示すように、処理プロセッサ20aに対応する項目GP1の0%対応位置に論理“1”が格納され、画像処理プロセッサ20b,20cに対応する項目GP2,GP3の50%対応位置に論理“1”が格納される。
The performance monitor 30 functions as a load status detection unit that detects the load status of each processing of the image processors 20a, 20b, and 20c, and events (commands) that occur before and after work execution in each image processor. Event occurrence counter for counting occurrences of events, and calculating the occurrence rate of events. If the occurrence rate is high, the processing load is large, and if the occurrence rate is low, the processing load is small. For example, the number of events per sample time is counted, the number of clock cycles per sample time is counted, and the event occurrence rate (IPC) per cycle of workload is calculated by the following formula using these count numbers. To do.
IPC = (number of events per sample time) / (number of clock cycles per sample time)
Further, the performance monitor 30 sequentially updates and stores the detected load status in the internal load status table shown in FIG. That is, when the load status of each of the image processors 20a, 20b, and 20c is 10%, as indicated by dots, 10% corresponding positions of the items GP1, GP2 , and GP3 corresponding to the image processors 20a, 20b, and 20c, respectively. Is stored with logic “1”. When the load status of the image processor 20a is 0% and the load status of the image processors 20b and 20c is 50%, respectively, as indicated by the hatched lines, the logical “0” in the position corresponding to the 0% of the item GP1 corresponding to the processor 20a. 1 "is stored, and logic" 1 "is stored at the 50% corresponding position of the items GP2 and GP3 corresponding to the image processors 20b and 20c.

上記CPU10は、図2の各処理部として機能する次の(1)〜(8)の手段を有する。
(1)圧縮対象の画像データを復号する復号手段(復号処理部31)。
The CPU 10 includes the following means (1) to (8) that function as the processing units in FIG.
(1) Decoding means (decoding processing unit 31) for decoding image data to be compressed.

(2)上記復号した画像データにおける文字画像領域のエッジを検出するエッジ検出手段(エッジ検出処理部32)。   (2) Edge detection means (edge detection processing unit 32) for detecting the edge of the character image area in the decoded image data.

(3)上記復号した画像データにおける文字画像領域のレイアウトを上記エッジ検出処理部32の検出結果に基づき解析するレイアウト解析手段(レイアウト解析処理部33)。 (3) Layout analysis means (layout analysis processing unit 33) for analyzing the layout of the character image area in the decoded image data based on the detection result of the edge detection processing unit 32.

(4)上記復号した画像データに含まれる複数の文字画像領域を上記レイアウト解析手段の解析結果に基づき検出し、検出した各文字画像領域における任意の2つの文字画像領域の文字画像データをそれぞれMMR符号化により圧縮処理した場合の文字画像データサイズの合計が、その2つの文字画像領域を包含する領域をMMR符号化により圧縮処理した場合の文字画像データサイズより小さいことを条件に、その2つの文字画像領域を1つの文字画像領域として統合する統合手段(文字領域統合処理部34)。   (4) A plurality of character image regions included in the decoded image data are detected based on the analysis result of the layout analysis means, and character image data of any two character image regions in each detected character image region are respectively MMR. On the condition that the total of the character image data size when the compression processing is performed by encoding is smaller than the character image data size when the region including the two character image regions is compressed by MMR encoding. Integration means (character area integration processing unit 34) for integrating the character image areas as one character image area.

(5)上記復号した画像データを低解像度化する低解像度変換手段(低解像度変換処理部35)。 (5) Low resolution conversion means (low resolution conversion processing unit 35) for reducing the resolution of the decoded image data.

(6)上記復号した画像データを、上記統合手段で統合した文字画像領域および統合しなかった文字画像領域にそれぞれ対応する文字画像データと背景画像データとに分離する分離手段(文字/背景分離処理部36)。背景画像データには、写真画像も含まれる。 (6) the image data obtained by the decoding, the respective character image region and integrated no character image area obtained by integrating the integrated unit corresponding separation means for separating the character image data and background image data (character / background separation processing Part 36). The background image data includes a photographic image.

(7)上記分離した文字画像データおよび背景画像データをパフォーマンスモニタ30で検出される負荷状況に応じた率で複数に分割して画像処理プロセッサ20a,20b,20cに割当てる制御手段。分割数については、要求処理速度に応じて、かつ画像処理プロセッサの個数の範囲内で、増減する。   (7) Control means for dividing the separated character image data and background image data into a plurality of parts at a rate corresponding to the load status detected by the performance monitor 30 and assigning them to the image processors 20a, 20b, 20c. The number of divisions is increased or decreased according to the required processing speed and within the range of the number of image processors.

(8)画像処理プロセッサ20a,20b,20cで圧縮される文字画像データおよび背景画像データをPDFファイル化するファイル化手段(ファイル化処理部39)。   (8) File forming means (file forming processing unit 39) for converting character image data and background image data compressed by the image processing processors 20a, 20b, and 20c into PDF files.

次に、動作を説明する。CPU10の処理を図4のフローチャート、画像処理プロセッサ20a,20b,20cの処理を図5のフローチャート、パフォーマンスモニタ30の処理を図6のフローチャートに示す。   Next, the operation will be described. The processing of the CPU 10 is shown in the flowchart of FIG. 4, the processing of the image processing processors 20a, 20b, and 20c is shown in the flowchart of FIG. 5, and the processing of the performance monitor 30 is shown in the flowchart of FIG.

スキャナ4で読取られる画像データまたはクライアント端末50から送られる入力画像データは、システムバス11を経由してハードディスクドライブ14に一旦格納される。CPU10は、必要な画像処理プログラムをメインメモリ13からダウンロードする。画像処理プロセッサ20a,20b,20cは、必要な画像処理プログラムや処理部形成用の回路情報をロー力ルメモリ21a,21b,21cからダウンロードする。 Image data read by the scanner 4 or input image data sent from the client terminal 50 is temporarily stored in the hard disk drive 14 via the system bus 11. The CPU 10 downloads a necessary image processing program from the main memory 13. The image processors 20a, 20b, and 20c download necessary image processing programs and circuit information for forming a processing unit from the low-power memories 21a, 21b, and 21c.

CPU10は、画像処理プロセッサ20a,20b,20cの負荷状況の確認をパフォーマンスモニタ30に要求し(ステップ101)、画像処理プロセッサ20a,20b,20cの負荷状況をパフォーマンスモニタ30から取得する(ステップ102)。そして、CPU10は、ハードディスクドライブ14に格納した1ページ分の画像データを生画像データに復号し、復号した画像データにおける文字画像領域のエッジを検出するとともに、復号した画像データにおける文字画像領域のレイアウトを上記エッジ検出の結果に基づき解析する(ステップ104)。さらに、復号した画像データを低解像度化する(ステップ105)。 The CPU 10 requests the performance monitor 30 to confirm the load status of the image processors 20a, 20b, and 20c (step 101), and acquires the load status of the image processors 20a, 20b, and 20c from the performance monitor 30 (step 102). . Then, the CPU 10 decodes the image data for one page stored in the hard disk drive 14 into raw image data, detects the edge of the character image area in the decoded image data, and layout of the character image area in the decoded image data. Is analyzed based on the result of the edge detection (step 104). Further, the resolution of the decoded image data is reduced (step 105).

CPU10は、復号した画像データにおける複数の文字画像領域を上記レイアウト解析の結果に基づき検出し、検出した複数の文字画像領域から任意の2つの文字画像領域を抽出し、抽出した2つの文字画像領域の文字画像データをそれぞれMMR符号化により圧縮処理した場合の文字画像データサイズS1,S2を検出する(ステップ106)。そして、検出した文字画像データサイズS1,S2の合計(=S1+S2)と、その2つの文字画像領域を包含する領域をMMR符号化により圧縮処理した場合の文字画像データサイズS3とを比較する(ステップ107)。 The CPU 10 detects a plurality of character image regions in the decoded image data based on the result of the layout analysis, extracts any two character image regions from the detected plurality of character image regions, and extracts the extracted two character image regions The character image data sizes S1 and S2 when the character image data is compressed by MMR encoding are detected (step 106). Then, the total (= S1 + S2) of the detected character image data sizes S1 and S2 is compared with the character image data size S3 when the region including the two character image regions is compressed by MMR encoding (step S3). 107).

CPU10は、文字画像データサイズS1,S2の合計が文字画像データサイズS3より小さい場合(ステップ107のYES)、上記抽出した2つの文字画像領域を1つの文字画像領域として統合する(ステップ108)。そして、上記検出した複数の文字画像領域のうち、まだ抽出対象となっていない文字画像領域の残数が1つ未満かどうか判定する(ステップ109)。文字画像データサイズS1,S2の合計が文字画像データサイズS3より小さくない場合は(ステップ107のNO)、統合せずにステップ109の判定に移る。   When the sum of the character image data sizes S1 and S2 is smaller than the character image data size S3 (YES in step 107), the CPU 10 integrates the two extracted character image regions as one character image region (step 108). Then, it is determined whether or not the remaining number of character image areas not yet extracted from the detected plurality of character image areas is less than one (step 109). If the sum of the character image data sizes S1 and S2 is not smaller than the character image data size S3 (NO in step 107), the process proceeds to the determination in step 109 without integration.

CPU10は、抽出対象となっていない文字画像領域の残数が1つ未満でなければ(ステップ109のNO)、上記統合された1つの文字画像領域およびまだ抽出対象となっていない文字画像領域の任意の1つを抽出し、抽出した2つの文字画像領域の文字画像データS1,S2を再び検出する(ステップ106)。そして、検出した文字画像データサイズS1,S2の合計(=S1+S2)と、その2つの文字画像領域を包含する領域をMMR符号化により圧縮処理した場合の文字画像データサイズS3とを比較し(ステップ107)、上記同様の処理を繰返す。   If the remaining number of character image areas that are not to be extracted is less than one (NO in step 109), the CPU 10 determines whether the integrated one character image area and the character image area that has not yet been extracted. An arbitrary one is extracted, and the character image data S1 and S2 of the two extracted character image regions are detected again (step 106). Then, the total of the detected character image data sizes S1 and S2 (= S1 + S2) is compared with the character image data size S3 when the region including the two character image regions is compressed by MMR encoding (step S3). 107), the same processing as described above is repeated.

CPU10は、抽出対象となっていない文字画像領域の残数が1つ未満になると(ステップ109のYES)、上記復号した画像データを、上記統合された文字画像領域および統合されなかった文字画像領域にそれぞれ対応する文字画像データと背景画像データ(背景および写真)とに分離する(ステップ110)。そして、分離した文字画像データおよび背景画像データを上記パフォーマンスモニタ30から取得した負荷状況に応じた率で複数に分割して画像処理プロセッサ20a,20b,20cに割当てる(ステップ111)。 When the remaining number of character image areas that are not to be extracted becomes less than one (YES in step 109), the CPU 10 converts the decoded image data into the integrated character image area and the character image area that has not been integrated. Are separated into character image data and background image data (background and photograph) respectively corresponding to (step 110). Then, the separated character image data and background image data are divided into a plurality at a rate corresponding to the load status acquired from the performance monitor 30 and assigned to the image processors 20a, 20b, and 20c (step 111).

例えば、統合した1つの文字画像データのサイズが1Mbyteで、その1つの統合文字画像データを画像処理プロセッサ20a,20b,20cに割当てることを考えると、画像処理プロセッサ20a,20b,20cの負荷状況がそれぞれ10%であれば、統合文字画像データを3333.4Kbyte分の文字画像データ、3333.3Kbyte分の文字画像データ、3333.3Kbyte分の文字画像データに3分割(ほぼ均等分)し、これら文字画像データを画像処理プロセッサ20a,20b,20cに割当てる。画像処理プロセッサ20aの負荷状況が0%で、画像処理プロセッサ20b,20cの負荷状況がそれぞれ50%であれば、統合文字画像データを5000Kbyte分の文字画像データ、2500Kbyte分の文字画像データ、2500Kbyte分の文字画像データに3分割し、第1文字画像データを画像処理プロセッサ20aに割当て、第2および第3文字画像データを画像処理プロセッサ20b,20cに割当てる。分割数については、要求処理速度に応じて適宜に増減すればよい。 For example, considering that the size of one integrated character image data is 1 Mbyte and that one integrated character image data is assigned to the image processors 20a, 20b, and 20c, the load status of the image processors 20a, 20b, and 20c is as follows. If each of them is 10%, the integrated character image data is divided into three (almost equal) character image data for 3333.4 Kbytes, character image data for 3333.3 Kbytes, and character image data for 3333.3 Kbytes. Assigned to the image processors 20a, 20b, 20c. If the load status of the image processor 20a is 0% and the load status of the image processors 20b and 20c is 50%, the integrated character image data is 5000Kbyte character image data, 2500Kbyte character image data, 2500Kbyte worth. The first character image data is assigned to the image processor 20a, and the second and third character image data are assigned to the image processors 20b and 20c. The number of divisions may be increased or decreased as appropriate according to the requested processing speed.

CPU10は、割当ての終了後、画像処理プロセッサ20a,20b,20cに対し圧縮処理の開始を指示するとともに(ステップ112)、割当てた文字画像データおよび背景画像データを実際に画像処理プロセッサ20a,20b,20cに送る(ステップ113)。そして、画像処理プロセッサ20a,20b,20cで圧縮処理された文字画像データおよび背景画像データを受け(ステップ114)、それを1つのPDFファイルにファイル化する(ステップ115)。   After the assignment is finished, the CPU 10 instructs the image processors 20a, 20b, and 20c to start the compression process (step 112), and actually assigns the assigned character image data and background image data to the image processors 20a, 20b, and 20c. 20c (step 113). Then, the character image data and the background image data compressed by the image processors 20a, 20b, and 20c are received (step 114) and converted into a single PDF file (step 115).

一方、画像処理プロセッサ20a,20b,20cは、パフォーマンスモニタ30からリクエスト信号を受けると(ステップ201のYES)、そのパフォーマンスモニタ30からの負荷状況検出を受入れる(ステップ202)。また、画像処理プロセッサ20a,20b,20cは、CPU10から開始指示を受けると(ステップ203のYES)、図2の文字圧縮処理部37を形成し、CPU10から送られる文字画像データをMMR符号化により圧縮処理する(ステップ204)。続いて、文字圧縮処理部37に代えて図2の背景圧縮処理部38を形成し、CPU10から送られる背景画像データをJPEG符号化により圧縮処理する(ステップ205)。そして、圧縮処理した文字画像データおよび背景画像データをCPU10に送る(ステップ206)。 On the other hand, when receiving a request signal from the performance monitor 30 (YES in step 201), the image processors 20a, 20b, and 20c accept the load status detection from the performance monitor 30 (step 202). When the image processor 20a, 20b, 20c receives a start instruction from the CPU 10 (YES in step 203), the image processor 20a, 20b, 20c forms the character compression processing unit 37 of FIG. 2, and character image data sent from the CPU 10 is encoded by MMR encoding. Compression processing is performed (step 204). Subsequently, the background compression processing unit 38 of FIG. 2 is formed instead of the character compression processing unit 37, and the background image data sent from the CPU 10 is compressed by JPEG encoding (step 205). The compressed character image data and background image data are sent to the CPU 10 (step 206).

パフォーマンスモニタ30は、画像処理プロセッサ20a,20b,20cに対し負荷状況確認のリクエスト信号をポーリングし(ステップ301)、処理の負荷状況を検出する(ステップ302)。そして、検出結果を負荷状況テーブルに逐次に更新記憶する。また、パフォーマンスモニタ30は、CPU10から負荷状況確認が要求されると(ステップ304のYES)、負荷状況テーブルの内容(負荷状況)をCPU10に知らせる(ステップ305)。   The performance monitor 30 polls the image processor 20a, 20b, 20c for a load status confirmation request signal (step 301) and detects the processing load status (step 302). Then, the detection results are sequentially updated and stored in the load status table. Further, when the load status confirmation is requested from the CPU 10 (YES in step 304), the performance monitor 30 notifies the CPU 10 of the content (load status) of the load status table (step 305).

1ページ分の画像データには、例えば図7に示すように、複数の文字画像領域(文字プレーンともいう)A,B,C,D,E,Fが含まれている。文字画像領域Aは複数の文字行A1,A2,…Anからなり、文字画像領域Bは複数の文字行B1,B2,…Bnからなる。文字画像領域Cは文字行C1,C2、文字画像領域Dは文字行D1,D2、文字画像領域Eは文字行E1,E2、文字画像領域Fは文字行F1,F2からなる。   The image data for one page includes a plurality of character image areas (also referred to as character planes) A, B, C, D, E, and F, for example, as shown in FIG. The character image area A is composed of a plurality of character lines A1, A2,... An, and the character image area B is composed of a plurality of character lines B1, B2,. The character image area C includes character lines C1 and C2, the character image area D includes character lines D1 and D2, the character image area E includes character lines E1 and E2, and the character image area F includes character lines F1 and F2.

これら文字画像領域にそれぞれ対応する文字画像データがMMR符号化により圧縮される際に、各文字画像データのページ上の配置を示す配置データXa,Xb,Xc,Xd,Xe,Xfが文字画像データごとにオーバーヘッドデータとして付加される。これらオーバーヘッドデータの存在は、文字画像データの圧縮率の向上を阻む要因となる。   When character image data corresponding to each of these character image areas is compressed by MMR encoding, arrangement data Xa, Xb, Xc, Xd, Xe, and Xf indicating the arrangement of each character image data on the page are character image data. Each is added as overhead data. The presence of these overhead data is a factor that hinders the improvement of the compression ratio of character image data.

画像データ自体は、一般的なリファレンス(約700枚)平均で、1/40程に圧縮される。このことから、1つの文字画像データに付加されるオーバーヘッドデータの容量を画像のピクセル数に変換して求めると、
240byte×8pixel/byte ×40=76,800pixelとなる。
The image data itself is compressed to about 1/40 on average with a general reference (about 700 images). From this, when converting the amount of overhead data added to one character image data into the number of pixels of the image,
240 bytes × 8 pixels / byte × 40 = 76,800 pixels.

幅w,高さhのサイズ(面積)s(=w×h)を有する1つの文字画像領域が圧縮されてPDFファイル化された場合の文字画像データサイズSは、次のように概算できる。
S=(w×h)÷8÷40+240
これにサイズs1(=w×h)の文字画像領域Aを当て嵌めると、その文字画像領域Aが圧縮されてPDFファイル化された場合のデータサイズS1は、次のように概算できる。
S1=s1/(8・40)+240
サイズs2(=w×h)の文字画像領域Bが圧縮されてPDFファイル化された場合の文字画像データS2は、次のように概算できる。
S2=s2/(8・40)+240
両文字画像領域A,Bを包含する領域(サイズs3)が圧縮されてPDFファイル化された場合の文字画像データサイズS3は、次のように概算できる。
S3=s3/(8・40)+240
上記したように、文字画像データサイズS1,S2の合計が文字画像データサイズS3より小さければ、2つの文字画像領域A,Bを1つの文字画像領域として統合することにより、本来は2つ必要となるはずのオーバーヘッドデータを1つに減らすことができる。結果として、圧縮率の向上ひいては処理速度の向上が図れる。ファイルサイズについても10%〜20%の削減効果が得られる。
The character image data size S when one character image region having a size (area) s (= w × h) having a width w and a height h is compressed into a PDF file can be estimated as follows.
S = (w × h) ÷ 8 ÷ 40 + 240
When the character image area A of size s1 (= w × h) is applied to this, the data size S1 when the character image area A is compressed into a PDF file can be estimated as follows.
S1 = s1 / (8.40) +240
The character image data S2 when the character image area B of size s2 (= w × h) is compressed into a PDF file can be estimated as follows.
S2 = s2 / (8.40) +240
The character image data size S3 when the region (size s3) including both the character image regions A and B is compressed into a PDF file can be estimated as follows.
S3 = s3 / (8.40) +240
As described above, if the sum of the character image data sizes S1 and S2 is smaller than the character image data size S3, two character image areas A and B are integrated as one character image area, so two are originally required. The overhead data that should be reduced can be reduced to one. As a result, it is possible to improve the compression rate and thus the processing speed. As for the file size, a reduction effect of 10% to 20% can be obtained.

文字画像データおよび背景画像データを複数に分割し、それを画像処理プロセッサ20a,20b,20cに割当てて並列処理するので、この点でも処理速度の向上が図れる。   Since the character image data and the background image data are divided into a plurality of pieces and assigned to the image processors 20a, 20b, and 20c for parallel processing, the processing speed can be improved in this respect as well.

文字画像データおよび背景画像データを画像処理プロセッサ20a,20b,20cの処理の負荷状況に応じた率で分割して割当てるので、処理負荷の偏りによる処理待ちの時間がなくなり、圧縮処理の効率が向上する。これも処理速度の向上に大きく貢献する。   Since character image data and background image data are divided and assigned at a rate according to the processing load of the image processors 20a, 20b, and 20c, the waiting time for processing due to uneven processing load is eliminated, and the efficiency of compression processing is improved. To do. This also greatly contributes to an improvement in processing speed.

なお、上記実施形態では、3つの画像処理プロセッサ20a,20b,20cを用いたが、その個数については適宜に選定可能である。その他、上記実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。この新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、書き換え、変更を行うことができる。これら実施形態や変形は、発明の範囲は要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に、本願の当初の特許請求の範囲に記載された発明を付記する。
[1]
圧縮対象の画像データに含まれる複数の文字画像領域のうち、任意の2つの文字画像領域をそれぞれ圧縮処理した場合の文字画像データサイズの合計が、その2つの文字画像領域を包含する領域を圧縮処理した場合の文字画像データサイズより小さいことを条件に、その2つの文字画像領域を1つの文字画像領域として統合する統合手段、
を備えることを特徴とする画像形成装置。
[2]
圧縮対象の画像データを復号する復号手段と、
前記復号した画像データにおける文字画像領域のエッジを検出するエッジ検出手段と、
前記復号した画像データにおける文字画像領域のレイアウトを前記エッジ検出手段の検出結果に基づき解析するレイアウト解析手段と、
をさらに備え、
前記統合手段は、前記復号した画像データに含まれる複数の文字画像領域を前記レイアウト解析手段の解析結果に基づき検出し、検出した各文字画像領域における任意の2つの文字画像領域の文字画像データをそれぞれ圧縮処理した場合の文字画像データサイズの合計が、その2つの文字画像領域を包含する領域を圧縮処理した場合の文字画像データサイズより小さいことを条件に、その2つの文字画像領域を1つの文字画像領域として統合する、
ことを特徴とする[1]記載の画像形成装置。
[3]
前記復号した画像データのうち、前記統合手段で統合した文字画像領域および統合しなかった文字画像領域にそれぞれ対応する文字画像データを圧縮する圧縮手段、
をさらに備えることを特徴とする[2]記載の画像形成装置。
[4]
前記復号した画像データを、前記統合手段で統合した文字画像領域および統合しなかった文字画像領域にそれぞれ対応する文字画像データと背景画像データとに分離する分離手段と、
前記分離した文字画像データを圧縮する文字圧縮手段と、
前記分離した背景画像データを圧縮する背景圧縮手段と、
前記圧縮した文字画像データおよび背景画像データをファイル化するファイル化手段と、
を備えることを特徴とする[2]記載の画像形成装置。
[5]
前記文字圧縮手段および前記背景圧縮手段は、複数の画像処理プロセッサであることを特徴とする[4]記載の画像形成装置。
[6]
前記分離した文字画像データおよび背景画像データを複数に分割して前記各画像処理プロセッサに割当てる制御手段、
をさらに備えることを特徴とする[5]記載の画像形成装置。
[7]
前記各画像処理プロセッサの処理の負荷状況を検出する負荷状況検出手段と、
前記分離した文字画像データおよび背景画像データを前記検出した負荷状況に応じた率で複数に分割して前記各画像処理プロセッサに割当てる制御手段、
をさらに備えることを特徴とする[2]記載の画像形成装置。
[8]
圧縮対象の画像データに含まれる複数の文字画像領域のうち、任意の2つの文字画像領域をそれぞれ圧縮処理した場合の文字画像データサイズの合計が、その2つの文字画像領域を包含する領域を圧縮処理した場合の文字画像データサイズより小さいことを条件に、その2つの文字画像領域を1つの文字画像領域として統合する、
ことを特徴とする画像形成装置の制御方法。
In the above embodiment, the three image processing processors 20a, 20b, and 20c are used. However, the number can be selected as appropriate. In addition, the said embodiment is shown as an example and is not intending limiting the range of invention. The novel embodiment can be implemented in various other forms, and various omissions, rewrites, and changes can be made without departing from the spirit of the invention. The scope of the invention is included in the gist of these embodiments and modifications, and is included in the invention described in the claims and the equivalents thereof.
The invention described in the scope of the original claims of the present application will be added below.
[1]
Of the plurality of character image areas included in the image data to be compressed, the total of the character image data size when any two character image areas are compressed respectively compresses the area including the two character image areas. Integration means for integrating the two character image areas as one character image area on condition that the character image data size is smaller than that when processed;
An image forming apparatus comprising:
[2]
Decoding means for decoding image data to be compressed;
Edge detection means for detecting an edge of a character image area in the decoded image data;
Layout analysis means for analyzing a layout of a character image area in the decoded image data based on a detection result of the edge detection means;
Further comprising
The integration unit detects a plurality of character image regions included in the decoded image data based on the analysis result of the layout analysis unit, and character image data of any two character image regions in each detected character image region. The two character image areas are combined into one character image, provided that the total size of the character image data when compressed is smaller than the character image data size when the area including the two character image areas is compressed. Merge as text image area,
The image forming apparatus as described in [1].
[3]
Compression means for compressing character image data respectively corresponding to the character image area integrated by the integration means and the character image area not integrated among the decoded image data,
The image forming apparatus according to [2], further comprising:
[4]
Separating means for separating the decoded image data into character image data and background image data respectively corresponding to the character image area integrated by the integrating means and the character image area not integrated;
Character compression means for compressing the separated character image data;
Background compression means for compressing the separated background image data;
A filing means for filing the compressed character image data and background image data;
[2] The image forming apparatus according to [2].
[5]
The image forming apparatus according to [4], wherein the character compression unit and the background compression unit are a plurality of image processors.
[6]
Control means for dividing the separated character image data and background image data into a plurality of parts and assigning them to the image processors;
The image forming apparatus according to [5], further comprising:
[7]
Load status detection means for detecting the load status of processing of each image processor;
A control unit that divides the separated character image data and background image data into a plurality of parts at a rate according to the detected load situation and assigns them to each image processor;
The image forming apparatus according to [2], further comprising:
[8]
Of the plurality of character image areas included in the image data to be compressed, the total of the character image data size when any two character image areas are compressed respectively compresses the area including the two character image areas. The two character image areas are integrated as one character image area on the condition that the character image data size is smaller than that when processing.
A control method for an image forming apparatus.

1…MFP、4…スキャナ、5…プリンタ、10…CPU、20a,20b,20c…画像処理プロセッサ(圧縮手段)、30…パフォーマンスモニタ(負荷状況検出手段)、50…クライアント端末。   DESCRIPTION OF SYMBOLS 1 ... MFP, 4 ... Scanner, 5 ... Printer, 10 ... CPU, 20a, 20b, 20c ... Image processor (compression means), 30 ... Performance monitor (load condition detection means), 50 ... Client terminal.

Claims (7)

圧縮対象の画像データを復号する復号手段と、
前記復号した画像データにおける文字画像領域のエッジを検出するエッジ検出手段と、
前記復号した画像データにおける文字画像領域のレイアウトを前記エッジ検出手段の検出結果に基づき解析するレイアウト解析手段と、
前記復号した画像データに含まれる複数の文字画像領域を前記レイアウト解析手段の解析結果に基づき検出し、検出した各文字画像領域における任意の2つの文字画像領域の文字画像データをそれぞれ圧縮処理した場合の文字画像データサイズとこれら2つの文字画像データにそれぞれ付加されるオーバーヘッドデータの容量との合計よりも、その2つの文字画像領域を包含する領域を圧縮処理した場合の文字画像データサイズと当該文字画像データに付加されるオーバーヘッドデータの容量との合計が小さいことを条件に、その2つの文字画像領域を1つの文字画像領域として統合する統合手段と、
を具備することを特徴とする画像形成装置。
Decoding means for decoding image data to be compressed;
Edge detection means for detecting an edge of a character image area in the decoded image data;
Layout analysis means for analyzing a layout of a character image area in the decoded image data based on a detection result of the edge detection means;
When a plurality of character image areas included in the decoded image data are detected based on the analysis result of the layout analysis means, and character image data of any two character image areas in each detected character image area are respectively compressed. Character image data size when the area including the two character image areas is subjected to compression processing rather than the sum of the character image data size and the capacity of overhead data added to each of the two character image data. Integration means for integrating the two character image areas as one character image area on the condition that the total amount of overhead data added to the image data is small;
An image forming apparatus comprising:
前記復号した画像データのうち、前記統合手段で統合した文字画像領域および統合しなかった文字画像領域にそれぞれ対応する文字画像データを圧縮する圧縮手段、
をさらに備えることを特徴とする請求項1記載の画像形成装置。
Compression means for compressing character image data respectively corresponding to the character image area integrated by the integration means and the character image area not integrated among the decoded image data,
The image forming apparatus according to claim 1, further comprising:
前記復号した画像データを、前記統合手段で統合した文字画像領域および統合しなかった文字画像領域にそれぞれ対応する文字画像データと背景画像データとに分離する分離手段と、
前記分離した文字画像データを圧縮する文字圧縮手段と、
前記分離した背景画像データを圧縮する背景圧縮手段と、
前記圧縮した文字画像データおよび背景画像データをファイル化するファイル化手段と、
を備えることを特徴とする請求項1記載の画像形成装置。
Separating means for separating the decoded image data into character image data and background image data respectively corresponding to the character image area integrated by the integrating means and the character image area not integrated;
Character compression means for compressing the separated character image data;
Background compression means for compressing the separated background image data;
A filing means for filing the compressed character image data and background image data;
The image forming apparatus according to claim 1, further comprising:
前記文字圧縮手段および前記背景圧縮手段は、複数の画像処理プロセッサであることを特徴とする請求項3記載の画像形成装置。   The image forming apparatus according to claim 3, wherein the character compression unit and the background compression unit are a plurality of image processors. 前記分離した文字画像データおよび背景画像データを複数に分割して前記各画像処理プロセッサに割当てる制御手段、
をさらに備えることを特徴とする請求項4記載の画像形成装置。
Control means for dividing the separated character image data and background image data into a plurality of parts and assigning them to the image processors;
The image forming apparatus according to claim 4, further comprising:
前記各画像処理プロセッサの処理の負荷状況を検出する負荷状況検出手段と、
前記分離した文字画像データおよび背景画像データを前記検出した負荷状況に応じた率で複数に分割して前記各画像処理プロセッサに割当てる制御手段、
をさらに備えることを特徴とする請求項記載の画像形成装置。
Load status detection means for detecting the load status of processing of each image processor;
A control unit that divides the separated character image data and background image data into a plurality of parts at a rate according to the detected load situation and assigns them to each image processor;
The image forming apparatus according to claim 5 , further comprising:
圧縮対象の画像データを復号し、
前記復号した画像データにおける文字画像領域のエッジを検出し、
前記復号した画像データにおける文字画像領域のレイアウトを前記エッジの検出結果に基づき解析し、
圧縮対象の画像データに含まれる複数の文字画像領域のうち、任意の2つの文字画像領域をそれぞれ圧縮処理した場合の文字画像データサイズとこれら2つの文字画像データにそれぞれ付加されるオーバーヘッドデータの容量との合計よりも、その2つの文字画像領域を包含する領域を圧縮処理した場合の文字画像データサイズと当該文字画像データに付加されるオーバーヘッドデータの容量との合計が小さいことを条件に、その2つの文字画像領域を1つの文字画像領域として統合する、
ことを特徴とする画像形成装置の制御方法。
Decode the image data to be compressed,
Detecting an edge of a character image area in the decoded image data;
The layout of the character image area in the image data the decoded and analyzed on the basis of the edge detection result,
Character image data size when any two character image areas are compressed among a plurality of character image areas included in the image data to be compressed, and the capacity of overhead data added to each of the two character image data On the condition that the total of the character image data size when the area including the two character image areas is compressed and the capacity of the overhead data added to the character image data is smaller than the total of Merging two character image areas as one character image area;
A control method for an image forming apparatus.
JP2011073303A 2010-03-29 2011-03-29 Image forming apparatus and control method thereof Expired - Fee Related JP5663364B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US31871610A 2010-03-29 2010-03-29
US61/318716 2010-03-29

Publications (2)

Publication Number Publication Date
JP2011211712A JP2011211712A (en) 2011-10-20
JP5663364B2 true JP5663364B2 (en) 2015-02-04

Family

ID=44942234

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011073303A Expired - Fee Related JP5663364B2 (en) 2010-03-29 2011-03-29 Image forming apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5663364B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905837B (en) * 2014-03-26 2017-04-19 小米科技有限责任公司 Image processing method and device and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4693289B2 (en) * 2001-07-03 2011-06-01 キヤノン株式会社 Image compression apparatus, image compression method, program code, and storage medium
JP2003018412A (en) * 2001-07-03 2003-01-17 Canon Inc Image compression apparatus, image compression method, program code, and storage medium
JP4311183B2 (en) * 2003-12-08 2009-08-12 富士ゼロックス株式会社 Image processing apparatus and program
JP4370950B2 (en) * 2004-03-18 2009-11-25 富士ゼロックス株式会社 Image processing device
JP4089736B2 (en) * 2006-05-26 2008-05-28 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, image processing method, and image processing program
JP5005732B2 (en) * 2008-06-26 2012-08-22 株式会社東芝 Image forming apparatus and image processing method

Also Published As

Publication number Publication date
JP2011211712A (en) 2011-10-20

Similar Documents

Publication Publication Date Title
US8339636B2 (en) Multi-function peripheral apparatus for processing unified job steps
CN102402404B (en) Print controlling apparatus, print system and print control program
US8578071B2 (en) Information processing apparatus and inter-processor communication control method
JP4779756B2 (en) Server apparatus and server control program in computer system
JP5663364B2 (en) Image forming apparatus and control method thereof
US10725712B2 (en) System for printing a document using a printer driver based on page size value
US8205020B2 (en) High-performance digital image memory allocation and control system
US7760387B2 (en) Image forming device, hardware control method, and hardware control program
JP2011198287A (en) Apparatus and program for processing image
US10719277B2 (en) System for printing a document using a printer driver based on a complex page
US8582153B2 (en) Image forming apparatus and method
US10552717B2 (en) Image processing apparatus, control method thereof, and storage medium
JP2013125455A (en) Image formation apparatus
US10719276B2 (en) System for printing a document using a PDF converter based on a complex page
JP2010146055A (en) Image processing apparatus, method and program
CN1955933A (en) Data processing apparatus and method
US20110216331A1 (en) Image forming apparatus and control method of the same
JP5917435B2 (en) Image forming apparatus
JP4425837B2 (en) Image forming apparatus
JP4065194B2 (en) Image forming apparatus
JP2022026215A (en) Image forming device and its control method, program
US20100182615A1 (en) Image forming apparatus and control method of the same
US8792144B2 (en) Image reading device and image reading method
US20180213103A1 (en) Image processing apparatus, method of controlling the same, and storage medium
JP4482526B2 (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130308

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131212

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140728

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140819

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141017

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: 20141111

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141208

R150 Certificate of patent or registration of utility model

Ref document number: 5663364

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees