JP4956282B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4956282B2
JP4956282B2 JP2007143771A JP2007143771A JP4956282B2 JP 4956282 B2 JP4956282 B2 JP 4956282B2 JP 2007143771 A JP2007143771 A JP 2007143771A JP 2007143771 A JP2007143771 A JP 2007143771A JP 4956282 B2 JP4956282 B2 JP 4956282B2
Authority
JP
Japan
Prior art keywords
image
image data
scaling
main scanning
size
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
JP2007143771A
Other languages
Japanese (ja)
Other versions
JP2008299519A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007143771A priority Critical patent/JP4956282B2/en
Publication of JP2008299519A publication Critical patent/JP2008299519A/en
Application granted granted Critical
Publication of JP4956282B2 publication Critical patent/JP4956282B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、画像形成装置(デジタル複合機,デジタル複写機,ファクシミリ装置,プリンタ等)や画像読取装置(スキャナ装置等)、パーソナルコンピュータ(以下「PC」と略称する)等の画像処理装置に関する。   The present invention relates to an image processing apparatus such as an image forming apparatus (digital multifunction peripheral, digital copying machine, facsimile apparatus, printer, etc.), image reading apparatus (scanner apparatus, etc.), personal computer (hereinafter abbreviated as “PC”).

例えば、読取ユニット(画像読取手段)によって原稿の画像データを読み取り、その画像データに基づいて書込ユニット(画像形成手段)にて画像の印刷を行うデジタル複合機等の画像処理装置において、読み取った画像データは画像処理部にて様々な加工が施されている。
このような画像処理装置においては、近年、益々画質への要求が厳しくなっており、高画質化を実現するために、メモリ容量の増加や回路の複雑化が進んでいる。また、画像処理では、注目画素に対して主走査方向およびそれと直交する副走査方向の周囲画素を使って演算を施すため、主走査方向の画像サイズ(画像データのサイズ)分のFIFO(First In First Out memory)メモリ(以下単に「FIFO」ともいう)が複数段必要になり、高画質化のためにそのFIFOの段数も増えている。
For example, an image processing apparatus such as a digital multi-function peripheral that reads image data of a document by a reading unit (image reading means) and prints an image by a writing unit (image forming means) based on the image data. The image data is variously processed by the image processing unit.
In such an image processing apparatus, in recent years, the demand for image quality has become stricter, and in order to realize high image quality, memory capacity has increased and circuits have become more complex. Further, in the image processing, since the calculation is performed on the target pixel using surrounding pixels in the main scanning direction and the sub-scanning direction orthogonal thereto, the FIFO (First In) corresponding to the image size (image data size) in the main scanning direction is performed. First Out (memory) (hereinafter, also simply referred to as “FIFO”) is required in a plurality of stages, and the number of FIFO stages is also increasing for higher image quality.

しかし、例えば読み取り原稿がA0サイズのような広幅機の場合、必要になるメモリ容量も膨大となり、そのままのサイズのFIFOをASIC(Application Specific Integrated Circuit)内に持つことは歩留まりやコストの面で現実的ではない。また、拡大処理等の変倍処理を行う場合には、必要となるFIFOの容量は更に大きくなる。
そこで、FIFOサイズを最小限に抑えつつ、そのFIFOサイズを超えるような原稿サイズの画像に対して画像処理を施すことができる手法が必要となる。そのためには、読み取りユニットから転送された画像データを一度外部メモリへ格納し、後段モジュールへはFIFOの容量や変倍率から決められるサイズに画像データを矩形分割して転送するとよい。
However, for example, when the original to be read is a wide machine such as an A0 size, the required memory capacity becomes enormous, and having a FIFO of the same size in the ASIC (Application Specific Integrated Circuit) is practical in terms of yield and cost. Not right. Further, when scaling processing such as enlargement processing is performed, the required FIFO capacity is further increased.
Therefore, there is a need for a technique that can perform image processing on an image having a document size exceeding the FIFO size while minimizing the FIFO size. For this purpose, the image data transferred from the reading unit is once stored in the external memory, and the image data is divided into rectangles and transferred to the subsequent module in a size determined by the capacity of the FIFO and the magnification.

しかし、矩形分割した各頁の画像データに対して順次主走査方向に任意サイズの変倍処理を施すと、その各頁の画像データに対して変倍後の画像サイズが区切りの良いサイズにならない場合があり、その各画像データを外部ヘ転送する際に頁のつなぎ目部分を調整するための回路が複雑になってしまうという問題がある。
そこで、特許文献1に見られるように、矩形分割した頁の画像データ(矩形領域)に対して変倍処理を施した結果、画像サイズが小数点以下の端数を持つような値になった場合には、各矩形領域のつなぎ目部分は小数点以下を切り上げもしくは切り捨てることで画素数を調整し、最終的なサイズを所望の変倍サイズに調整するようにした画像処理装置が提案されている。
特開2004−220584号公報
However, if the image data of each page divided into rectangles is sequentially subjected to a scaling process of an arbitrary size in the main scanning direction, the image size after scaling for the image data of each page does not become a good size for separation. In some cases, there is a problem that the circuit for adjusting the joint portion of the page becomes complicated when each image data is transferred to the outside.
Therefore, as shown in Patent Document 1, when the image size of the image data (rectangular region) of the page divided into rectangles is changed to a value that has a fractional part after the decimal point, An image processing apparatus has been proposed in which the number of pixels is adjusted by rounding up or down the decimal part at the joint portion of each rectangular area to adjust the final size to a desired scaling size.
Japanese Patent Laid-Open No. 2004-220484

しかしながら、特許文献1記載のものでは、各矩形領域のつなぎ目部分に、変倍処理により発生する小数点以下の切り捨て/切り上げによる画質への悪影響(すじが発生するなど)が現れる可能性がある。また、変倍後の画像サイズによっては、画像転送効率が悪化する。
この発明は、上記の問題点に鑑みてなされたものであり、矩形分割した頁の画像データを変倍処理して外部へ転送する場合の画質の劣化を低コストで防止できるようにすることを目的とする。
However, in the device described in Patent Document 1, there is a possibility that an adverse effect on image quality (such as streaking) may appear at the joint portion of each rectangular area due to truncation / rounding up after the decimal point caused by scaling processing. Further, depending on the image size after scaling, the image transfer efficiency is deteriorated.
The present invention has been made in view of the above problems, and is intended to prevent image quality degradation at a low cost when image data of a rectangularly divided page is subjected to scaling processing and transferred to the outside. Objective.

この発明は、画像データを複数の頁に矩形分割する矩形分割手段と、該矩形分割手段によって矩形分割された頁の画像データに対して主走査方向の変倍処理を施す変倍処理手段と、該変倍処理手段によって変倍された画像データを外部へ転送する画像転送手段とを有する画像処理装置であって、上記の目的を達成するため、次のようにしたことを特徴とする。 The present invention includes a rectangular dividing unit that divides image data into a plurality of pages, a scaling processing unit that performs a scaling process in the main scanning direction on the image data of the page that has been rectangularly divided by the rectangular dividing unit , An image processing apparatus having image transfer means for transferring the image data scaled by the scaling process means to the outside. In order to achieve the above object, the image processing apparatus is characterized as follows.

請求項1の発明による画像処理装置は、上記矩形分割手段によって矩形分割された頁の画像データが上記変倍処理手段を経由して上記画像転送手段によって外部へ転送される際に、上記変倍処理手段からの画像データの主走査方向のサイズが、上記画像転送手段における画像転送の条件に応じた画素数の設定値であるバウンダリサイズの整数倍にならないときは、そのバウンダリサイズの整数倍になる最大主走査長までの画像データを転送し、残りの画素については切り捨て、少なくともそれまでの画像転送に使用した変倍前の画素数を次頁の画像データ転送期間まで保持し、次頁の画像データの転送を行う際に、保持している上記変倍前の画素数に基づいて、次頁の画像データに上記切り捨てた画素数分遡った画像データから上記変倍処理手段を経由して外部へ転送するように制御を行う制御手段を設けたものである。 The image processing apparatus according to the invention of claim 1, when the image data of the rectangle divided page is transferred to the outside by the image transfer means via said scaling processing unit by said block dividing means, said variable power main scanning direction size of the image data from the processing means, when not an integer multiple of the boundary size is the number of pixels of the set value corresponding to the condition of the image transfer in the image transfer means, to an integral multiple of the boundary size The image data up to the maximum main scanning length is transferred, the remaining pixels are discarded , and at least the number of pixels before scaling used for the previous image transfer is held until the image data transfer period of the next page. When transferring image data, based on the number of pixels before scaling, the scaling processing is performed on the next page of image data that is traced back to the number of discarded pixels. It is provided with a control means for controlling to transfer to the outside via the stage.

請求項2の発明による画像処理装置は、請求項1の画像処理装置における上記バウンダリサイズが、画像転送バスのバス幅から計算される画素数の設定値であるものである。
請求項3の発明による画像処理装置は、請求項1の画像処理装置における上記バウンダリサイズが、バースト転送のバースト長から計算される画素数の設定値であるものである。
Invention an image processing apparatus according to claim 2, the boundary size definitive to the image processing apparatus according to claim 1 is one that is set value of the number of pixels calculated from the bus width of the image transfer bus.
The image processing apparatus according to the invention of claim 3, the boundary size definitive to the image processing apparatus according to claim 1 is one that is set value of the number of pixels calculated from the burst length of the burst transfer.

請求項4の発明による画像処理装置は、請求項1〜3のいずれかの画像処理装置において、上記制御手段が、上記変倍処理手段へ入力される変倍処理前の画像データである上記矩形分割手段によって矩形分割された頁の画像データの主走査方向の画素数をカウントする変倍前主走査カウンタと、上記変倍処理手段による主走査方向の変倍処理後に外部へ転送される画像データの主走査方向の画素数をカウントする変倍後主走査カウンタと、上記バウンダリサイズを保持するバウンダリサイズレジスタと、上記変倍後主走査カウンタの値が上記バウンダリサイズの整数倍になる最大主走査長の値であることを検出すると、その時点の上記変倍後主走査カウンタの値および上記変倍前主走査カウンタの値を保持し、それらの値を上記矩形分割手段によって矩形分割された次頁の画像データの外部への転送が終わるまで保持するカウンタレジスタとを有し、次頁の画像データの転送を行う際に、上記カウンタレジスタが保持している値から転送すべき画像データを決定するものである。 Invention an image processing apparatus according to claim 4, Oite to any one of the image processing apparatus of claim 1, said control means is the image data before the scaling processing to be inputted to the scaling processing unit The main scanning counter before scaling for counting the number of pixels in the main scanning direction of the image data of the page divided into rectangles by the rectangular dividing means, and transferred to the outside after the scaling processing in the main scanning direction by the scaling processing means. The main scanning counter after scaling that counts the number of pixels in the main scanning direction of the image data, the boundary size register that holds the boundary size, and the maximum value that the value of the main scanning counter after scaling is the integer multiple of the boundary size Upon detecting that the value of the main scanning length, and holds the value, and the zooming value before the main scan counter of the variable power after the main scanning counter at that time, the block dividing means those values Therefore and a counter register for holding up the rectangular split transfer to an external image data of the next page is completed, when the transfer of image data of the next page, the transfer from the values which the counter register holds The image data to be determined is determined .

請求項5の発明による画像処理装置は、請求項4の画像処理装置において、上記画像転送手段が、上記制御手段の一部を有し、上記変倍後主走査カウンタの値が上記バウンダリサイズの整数倍になる最大主走査長の値であったときの該変倍後主走査カウンタの値を受け取り、上記変倍処理手段から受け取った画像データのうち、上記変倍後主走査カウンタの値までの主走査方向のサイズ分の画像データを外部へ転送することを特徴とする画像処理装置。 The image processing apparatus according to the invention of claim 5, Oite the image processing apparatus according to claim 4, said image transfer means has a part of the control means, the value after the scaling main scanning counter the boundary The value of the main scanning counter after scaling when the maximum main scanning length is a value that is an integral multiple of the size is received, and among the image data received from the scaling processing means, the value of the main scanning counter after scaling An image processing apparatus that transfers image data of a size in a main scanning direction up to a value to the outside.

請求項6の発明による画像処理装置は、請求項1〜4のいずれかの画像処理装置において、上記制御手段が、上記変倍処理手段による変倍処理後の画像データを記憶する記憶手段を有し、該記憶手段に記憶された画像データを上記画像転送手段へ転送する際に、その画像データを上記バウンダリサイズの整数倍になる最大主走査長まで上記画像転送手段へ転送するものである。 The image processing apparatus according to the invention of claim 6, Oite to any of the image processing apparatus of claim 1, said control means, storage means for storing image data after the magnification change processing by the scaling processing unit the have the image data stored in the storage means when transferring to said image transfer means, the image data intended to be transferred to the maximum the image transfer means to the main scanning length of an integral multiple of the boundary size is there.

この発明によれば、画像処理装置が、矩形分割した頁の画像データが変倍処理手段を経由して画像転送手段によって外部へ転送される際に、その変倍処理手段からの画像データの主走査方向のサイズが画像転送手段における画像転送の条件に応じた画素数の設定値であるバウンダリサイズの整数倍にならないとき、そのバウンダリサイズの整数倍になる最大主走査長までの画像データを転送し、残りの画素については切り捨て、次頁の画像データの転送を行う際に、次頁の画像データに前頁の切り捨てた画素数分遡った画像データから変倍処理手段を経由して外部へ転送するように制御することにより、矩形分割した頁の画像データを変倍処理して外部へ転送する場合の画質の劣化を低コストで防止することができる。 According to the present invention, when the image processing apparatus transfers image data of a page divided into rectangles to the outside by the image transfer unit via the scaling processing unit, the image data from the scaling processing unit is main. When the size in the scanning direction does not become an integral multiple of the boundary size , which is the set value of the number of pixels according to the image transfer conditions in the image transfer means , image data up to the maximum main scanning length that is an integral multiple of the boundary size When the image data of the next page is transferred, the remaining pixels are cut off from the image data traced back to the number of pixels of the previous page by the number of discarded pixels. By controlling the image data to be transferred to the outside, it is possible to prevent image quality degradation at a low cost when the image data of the page divided into rectangles is subjected to a scaling process and transferred to the outside.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
〔デジタル複合機のハードウェア構成例〕
まず、この実施形態における画像処理装置であるデジタル複合機(以下「MFP」ともいう)のハードウェア構成について、図1を参照して説明する。なお、MFPの代わりに、スキャナ機能およびプリンタ機能を有するデジタル複写機,ファクシミリ装置等の他の画像形成装置を用いてもよい。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
[Hardware configuration example of a digital MFP]
First, a hardware configuration of a digital multi-function peripheral (hereinafter also referred to as “MFP”) which is an image processing apparatus in this embodiment will be described with reference to FIG. Instead of the MFP, another image forming apparatus such as a digital copying machine or a facsimile apparatus having a scanner function and a printer function may be used.

図1は、この発明の一実施形態であるMFPのハードウェア構成例を示すブロック図である。
このMFP100は、デジタル複写機,プリンタ,ファクシミリ装置,スキャナとしての機能、つまりコピー機能,文書蓄積(ドキュメントボックス)機能,ファクシミリ機能,プリンタ機能,スキャナ機能を含む各種機能を実現できる画像形成装置であり、図1に示すように、エンジン部110とコントローラ120とからなる。これらの構成が、原稿の画像読み取り,印刷(画像形成),画像情報送受信等の画像処理を行うためのハードウェア資源である。
FIG. 1 is a block diagram showing a hardware configuration example of an MFP according to an embodiment of the present invention.
The MFP 100 is an image forming apparatus capable of realizing various functions including functions as a digital copying machine, a printer, a facsimile machine, and a scanner, that is, a copy function, a document storage (document box) function, a facsimile function, a printer function, and a scanner function. As shown in FIG. 1, the engine unit 110 and the controller 120 are included. These configurations are hardware resources for performing image processing such as image reading, printing (image formation), and image information transmission / reception of a document.

エンジン部110は、CPU111,読取ユニット112,書込ユニット113,ASIC(Application Specific Integrated Circuit)−E114,および外部メモリ118によって構成されている。
CPU111は、ASIC−E114を介してエンジン部110全体を統括的に制御するマイクロコンピュータであり、中央処理装置,プログラムROM,RAM等からなる。このCPU111の中央処理装置が、プログラムROM内のプログラムを実行することにより、バウンダリサイズ設定手段としての機能を果たすことができる。
読取ユニット112は、原稿の画像を画像データとして読み取るスキャナ等の画像読取手段である。
The engine unit 110 includes a CPU 111, a reading unit 112, a writing unit 113, an ASIC (Application Specific Integrated Circuit) -E 114, and an external memory 118.
The CPU 111 is a microcomputer that comprehensively controls the entire engine unit 110 via the ASIC-E 114, and includes a central processing unit, a program ROM, a RAM, and the like. The central processing unit of the CPU 111 can function as a boundary size setting unit by executing a program in the program ROM.
The reading unit 112 is an image reading unit such as a scanner that reads an image of a document as image data.

書込ユニット113は、読取ユニット112によって読み取った画像データあるいは外部機器から受信した画像データを可視画像として用紙(他の記録媒体でもよい)上に印刷するプロッタ等の画像形成手段である。
ASIC−E114は、画像処理部115と画像インタフェース(以下「インタフェース」を「I/F」ともいう)部117とを有するデバイスボードであり、CPU111の制御対象となるデバイスの共有化を図り、アーキテクチャの面からアプリケーションプログラム(以下単に「アプリケーション」又は「アプリ」ともいう)等の開発の高効率化を支援するものである。
The writing unit 113 is an image forming unit such as a plotter that prints image data read by the reading unit 112 or image data received from an external device on a sheet (other recording medium) as a visible image.
The ASIC-E 114 is a device board having an image processing unit 115 and an image interface (hereinafter, “interface” is also referred to as “I / F”) unit 117. The ASIC-E 114 is configured to share a device to be controlled by the CPU 111. In view of the above, it is intended to support the improvement of the efficiency of development of application programs (hereinafter also simply referred to as “applications” or “applications”).

画像処理部115は、読取ユニット112によって読み取った画像データ又は書込ユニット113へ転送すべき画像データに対して後述する画像処理を施すものである。
画像I/F部117は、画像処理部115とコントローラ120との間の画像データの送受信(転送)を制御する画像転送手段である。
外部メモリ118は、HDD(ハードディスク装置)やメモリカード等の記録媒体である。
The image processing unit 115 performs image processing to be described later on image data read by the reading unit 112 or image data to be transferred to the writing unit 113.
The image I / F unit 117 is an image transfer unit that controls transmission / reception (transfer) of image data between the image processing unit 115 and the controller 120.
The external memory 118 is a recording medium such as an HDD (hard disk device) or a memory card.

コントローラ120は、MFP100の各部を統括的に制御するものである。その制御により、各種機能を実現することができる。
このコントローラ120は、操作部121,HDD122,CPU123,ASIC−C124,MEM−C127,NB128,MEM−P129,ASIC130,OPTION131,132,SB133,およびROM134によって構成されている。なお、操作部121は実際にはコントローラ120の外側に配置されている。
The controller 120 controls each part of the MFP 100 in an integrated manner. Various functions can be realized by the control.
The controller 120 includes an operation unit 121, HDD 122, CPU 123, ASIC-C 124, MEM-C 127, NB 128, MEM-P 129, ASIC 130, OPTION 131, 132, SB 133, and ROM 134. Note that the operation unit 121 is actually disposed outside the controller 120.

操作部121は、MFP100により提供される画像処理機能の選択に基づくエンジン部110や外部機器に対する動作指示(動作要求)等のデータを入力するための各種の操作キー(「操作スイッチ」又は「操作ボタン」ともいう)およびLCD又はCRT等の表示器を有する操作手段である。
HDD122は、画像データやプログラム(ソフトウェア)など、各種のデータを蓄積・保存するための記憶手段である。
The operation unit 121 includes various operation keys (“operation switch” or “operation” for inputting data such as operation instructions (operation requests) to the engine unit 110 and external devices based on the selection of the image processing function provided by the MFP 100. It is also an operation means having a display device such as an LCD or a CRT.
The HDD 122 is a storage unit for accumulating and storing various data such as image data and programs (software).

CPU123は、コントローラ120全体を統括的に制御するマイクロコンピュータであり、中央処理装置,プログラムROM,RAM等からなる。
ASIC−C124は、回転器125と編集器126とを有するデバイスボードである。
回転器125は、読取ユニット112によって読み取った画像データ又は書込ユニット113へ転送すべき画像データに対して回転処理を施すものである。
The CPU 123 is a microcomputer that comprehensively controls the entire controller 120, and includes a central processing unit, a program ROM, a RAM, and the like.
The ASIC-C 124 is a device board having a rotator 125 and an editor 126.
The rotator 125 performs a rotation process on the image data read by the reading unit 112 or the image data to be transferred to the writing unit 113.

編集器126は、読取ユニット112によって読み取った画像データ又は書込ユニット113へ転送すべき画像データに対して変倍等の編集処理を施すものである。
MEM−C127は、読取ユニット112によって読み取った画像データを一旦記憶しておくためのRAM等の記憶手段である。
NB128は、CPU123とASIC−C124,MEM−P129,SB133とを接続するためのノースブリッジである。
MEM−P129は、エンジン部110へ転送すべき画像データを展開するために使用するRAM等の記憶手段である。
The editor 126 performs an editing process such as scaling on the image data read by the reading unit 112 or the image data to be transferred to the writing unit 113.
The MEM-C 127 is a storage unit such as a RAM for temporarily storing image data read by the reading unit 112.
The NB 128 is a north bridge for connecting the CPU 123 to the ASIC-C 124, MEM-P 129, and SB 133.
The MEM-P 129 is a storage unit such as a RAM used for developing image data to be transferred to the engine unit 110.

SB133は、NB128と周辺デバイス(ASIC130,OPTION131,132)とを接続するためのサウスブリッジである。
ROM134は、CPU123が当該MFP100の制御を行う際のプログラム(ブートプログラムを含む)が格納されるメモリである。
The SB 133 is a south bridge for connecting the NB 128 and peripheral devices (ASIC 130, OPTION 131, 132).
The ROM 134 is a memory that stores a program (including a boot program) used when the CPU 123 controls the MFP 100.

〔エンジン部の具体的構成例〕
次に、図1のエンジン部110の具体的構成について、図2を参照して説明する。
図2は、図1のエンジン部110の具体的構成例を示すブロック図である。
画像処理部115は、スキャナ画像処理部115aとプリンタ画像処理部115bとからなる。
[Specific configuration example of engine section]
Next, a specific configuration of the engine unit 110 of FIG. 1 will be described with reference to FIG.
FIG. 2 is a block diagram showing a specific configuration example of the engine unit 110 of FIG.
The image processing unit 115 includes a scanner image processing unit 115a and a printer image processing unit 115b.

スキャナ画像処理部115aは、読取ユニット112によって原稿から読み取ったR,G,Bの画像データに対してそれぞれシェーディング補正,読取γ補正,MTF補正等を行い、その補正後のR,G,Bの画像データをC,M,Y,Kの画像データに変換する。
プリンタ画像処理部115bは、画像I/F部117からのC,M,Y,Kの画像データを書込ユニット113のC,M,Y,K各色の書込部113a,113b,113c,113dの画像表現特性に合ったC,M,Y,Kの画像データに変換する。なお、「R,G,B」のRはレッド、Gはグリーン、Bはブルーをそれぞれ示す。また、「C,M,Y,K」のCはシアン、Mはマゼンタ、Yはイエロー、Kはブラックをそれぞれ示す。
The scanner image processing unit 115a performs shading correction, reading γ correction, MTF correction, and the like on the R, G, and B image data read from the original by the reading unit 112, and the corrected R, G, and B of the image data. The image data is converted into C, M, Y, K image data.
The printer image processing unit 115b reads the C, M, Y, and K image data from the image I / F unit 117 into the writing units 113a, 113b, 113c, and 113d of the C, M, Y, and K colors of the writing unit 113. Are converted into C, M, Y, and K image data suitable for the image expression characteristics. In “R, G, B”, R represents red, G represents green, and B represents blue. In “C, M, Y, K”, C represents cyan, M represents magenta, Y represents yellow, and K represents black.

〔スキャナ画像処理部の構成例〕
次に、図2のスキャナ画像処理部115aの構成と制御について、図3を参照して説明する。
図3は、図2のスキャナ画像処理部115aの構成とデータの流れの一例を示す説明図である。
[Configuration example of scanner image processing unit]
Next, the configuration and control of the scanner image processing unit 115a in FIG. 2 will be described with reference to FIG.
FIG. 3 is an explanatory diagram showing an example of the configuration and data flow of the scanner image processing unit 115a of FIG.

ASIC−E114のスキャナ画像処理部115aは、入力I/F部201,非同期吸収用のFIFOメモリ(以下単に「FIFO」という)202,203,外部メモリI/F部204,前処理部205,フィルタ処理部206,および変倍処理部207等によって構成されている。このスキャナ画像処理部115aは、矩形分割手段,変倍処理手段,制御手段,およびラインゲート信号出力手段としての機能を果たすことができる。   The scanner image processing unit 115a of the ASIC-E 114 includes an input I / F unit 201, an asynchronous absorption FIFO memory (hereinafter simply referred to as “FIFO”) 202 and 203, an external memory I / F unit 204, a preprocessing unit 205, a filter. A processing unit 206, a scaling processing unit 207, and the like are included. The scanner image processing unit 115a can function as a rectangle dividing unit, a scaling unit, a control unit, and a line gate signal output unit.

次に、このように構成されたMFP100におけるこの発明に関わる構成の各実施例について、図4〜図11を参照して具体的に説明する。
〔第1実施例〕
まず、第1実施例について説明する。
図3に示したスキャナ画像処理部115aにおいて、読取ユニット112から本来の画像サイズ(実際には主走査方向のサイズである主走査サイズ)で画像データを受信すると、その画像データが入力I/F部201,FIFO202,および外部メモリI/F部204を経由して外部メモリ118へ格納される。
Next, each embodiment of the configuration related to the present invention in MFP 100 configured as described above will be specifically described with reference to FIGS.
[First embodiment]
First, the first embodiment will be described.
When the scanner image processing unit 115a shown in FIG. 3 receives image data from the reading unit 112 in the original image size (actually the main scanning size that is the size in the main scanning direction), the image data is input I / F. The data is stored in the external memory 118 via the unit 201, the FIFO 202, and the external memory I / F unit 204.

図4は、外部メモリ118上の画像データに対して矩形分割処理を行う場合の分割後の各画像サイズとのりしろの一例を示す説明図である。
外部メモリ118上の画像データに対して矩形分割処理を行う場合、前後する矩形領域はそのまま分割した領域を転送すると、フィルタ部206等の画像処理において、境界部分にすじが入り、画質が劣化するなどの問題があるため、画質が劣化しないように画像データをかぶらせて外部メモリ118から読み出す必要がある。
FIG. 4 is an explanatory diagram showing an example of margins for each image size after division when performing rectangular division processing on image data on the external memory 118.
When rectangular division processing is performed on image data on the external memory 118, if the divided rectangular regions are transferred as they are, the boundary portion is streaked in the image processing of the filter unit 206 and the like, and the image quality deteriorates. Therefore, the image data needs to be fogged and read from the external memory 118 so that the image quality does not deteriorate.

そこで、外部メモリ118に格納された画像データを後段モジュールへ転送する際、例えば図4に示すような矩形分割とした場合、先頭頁は主走査長(主走査方向の長さ)「X1+304」画素、副走査長(副走査方向の長さ)「Y1+3」画素として、外部メモリ118から読み出される。主走査長の「+304」画素および副走査長の「+3」画素は、後段モジュールの画像処理において、ページ間の境界部分にすじなどの画質劣化が起こらないように画像データを重複させるサイズを示す。また、主走査長は後段モジュールが持つラインバッファサイズ以下でなければならない。次に転送される頁のサイズは、主走査長「X2+304+304」画素, 副走査長「Y1+3」画素となる。   Therefore, when transferring the image data stored in the external memory 118 to the subsequent module, for example, when the rectangular division as shown in FIG. 4 is used, the first page has a main scanning length (length in the main scanning direction) “X1 + 304” pixels. The sub-scan length (length in the sub-scan direction) is read from the external memory 118 as “Y1 + 3” pixels. The “+304” pixel in the main scanning length and the “+3” pixel in the sub-scanning length indicate the size at which image data is overlapped so that image quality degradation such as streak does not occur at the boundary between pages in the image processing of the subsequent module. . The main scanning length must be less than the line buffer size of the subsequent module. The size of the next page to be transferred is the main scanning length “X2 + 304 + 304” pixels and the sub-scanning length “Y1 + 3” pixels.

通常、このMFP100や複写機等の画像形成装置では、原稿の画像データを拡大/縮小(拡大又は縮小)させて可視画像として用紙等の記録材に印刷する機能を有しており、原稿の画像データを矩形分割してデータ転送する場合においても、変倍処理部を使って拡大/縮小を実施する。
図3に示すスキャナ画像処理部115aの前処理部205およびフィルタ処理部206と変倍処理部207における主走査方向の画像有効領域(以下単に「画像有効領域」という)は異なる。
Normally, the image forming apparatus such as the MFP 100 or the copying machine has a function of enlarging / reducing (enlarging or reducing) image data of a document and printing it on a recording material such as paper as a visible image. Even when the data is divided into rectangles and transferred, enlargement / reduction is performed using the scaling unit.
The effective image areas in the main scanning direction (hereinafter simply referred to as “image effective areas”) in the preprocessing unit 205, the filter processing unit 206, and the scaling processing unit 207 of the scanner image processing unit 115a shown in FIG.

図5は、図4に示した分割した矩形領域と各モジュール(前処理部205,フィルタ処理部206,変倍処理部207)への画像有効領域に対応する各ゲート信号との関係の一例を示す説明図である。ゲート信号には、ラインゲート信号とフレームゲート信号がある。ラインゲート信号は、画像データの主走査方向への書き込みを制御するための信号である。フレームゲート信号は、画像データの副走査方向の書き込みを制御するための信号である。   FIG. 5 shows an example of the relationship between the divided rectangular area shown in FIG. 4 and each gate signal corresponding to the image effective area to each module (the preprocessing unit 205, the filter processing unit 206, and the scaling processing unit 207). It is explanatory drawing shown. The gate signal includes a line gate signal and a frame gate signal. The line gate signal is a signal for controlling writing of image data in the main scanning direction. The frame gate signal is a signal for controlling writing of image data in the sub-scanning direction.

前処理部205およびフィルタ処理部206(以下「フィルタ処理部206等」ともいう)において、画像データに対して画像処理を施す際に頁の区切りですじなどの画質劣化を防ぐために、外部メモリ118から読み出す画像データを各頁間で重複させるが、フィルタ処理部206等ではこのサイズが画像有効領域となる。変倍処理部207へは、実際に後段モジュール(コントローラ120側)へ転送するべき画像サイズ(画像処理が正しく施されている領域)のゲート信号が発行される。
変倍処理部207では、ソフトウェアによって(実際にはソフトウェアに従って動作するCPU111によって)設定された任意の変倍率に応じて、フィルタ処理部206からの画像データに対して主走査方向に拡大/縮小の処理(主走査任意変倍)を行う。
In the preprocessing unit 205 and the filter processing unit 206 (hereinafter also referred to as “filter processing unit 206 etc.”), the external memory 118 is used to prevent image quality degradation such as page breaks when image processing is performed on image data. The image data read out from each other is overlapped between the pages, but this size becomes the effective image area in the filter processing unit 206 and the like. A gate signal of an image size (an area where image processing is correctly performed) to be actually transferred to the subsequent module (on the controller 120 side) is issued to the scaling processing unit 207.
The scaling processing unit 207 enlarges / reduces the image data from the filter processing unit 206 in the main scanning direction according to an arbitrary scaling ratio set by software (actually by the CPU 111 operating according to the software). Processing (main scanning arbitrary scaling) is performed.

図6は、変倍処理部207が画像データに対して行う主走査方向への150%(拡大)と67%(縮小)の変倍処理を説明するための図である。
図7は、各モジュールの画像有効領域、つまりフィルタ処理部206等に必要な画素数(有効領域)、変倍処理部207への入力画素数(有効領域)、変倍処理部207による変倍後の画素数、および画像I/F部117からコントローラ120へ出力される画像サイズの一例を説明するための概念図である。
図8は、画像I/F部117における画像転送の条件に応じた画素数の設定値であるバウンダリサイズ(以下単に「バウンダリサイズ」ともいう)の整数倍にならなかった残りの画素の切り捨てと、次の頁での切り捨てられた画素分の追加方法を説明するための図である。
FIG. 6 is a diagram for explaining 150% (enlargement) and 67% (reduction) scaling processing in the main scanning direction performed by the scaling unit 207 on the image data.
FIG. 7 shows an image effective area of each module, that is, the number of pixels necessary for the filter processing unit 206 and the like (effective region), the number of input pixels to the scaling processing unit 207 (effective region), and the scaling by the scaling processing unit 207 6 is a conceptual diagram for explaining an example of the number of pixels after and an image size output from the image I / F unit 117 to the controller 120. FIG.
Figure 8 is a truncation of the remaining pixels, such tinged be an integral multiple of the boundary size, which is the set value of the number of pixels corresponding to the conditions of the image transfer in the image I / F unit 117 (hereinafter simply referred to as "boundary size") FIG. 6 is a diagram for explaining a method for adding the truncated pixels on the next page.

変倍処理部207は、入力される画像データの画素(入力画素)に対して、仮想画素を算出することによって変倍処理を行う。
図6の例では、入力される画像データの画素(入力画素)A〜Eに対して、150%拡大では1〜7の仮想画素が、67%縮小では1〜3の仮想画素が生成される。
すると、例えば図7に示すように、変倍処理部207に主走査長6,000画素のデータを入力したとすると、67%変倍処理後の画素数は4,020画素となる。仮に画像I/F部117からコントローラ120側への転送において、バウンダリサイズが512画素であったとすると、図8に示すように、変倍処理後の主走査サイズ(画像サイズ)が512*7=3,584画素(バウンダリサイズの整数倍になる最大主走査長の画素数)であれば、回路構成が容易となる。そこで、4,020−3,584=436画素を切り捨てる。
The scaling processing unit 207 performs scaling processing by calculating virtual pixels for pixels (input pixels) of input image data.
In the example of FIG. 6, with respect to pixels (input pixels) A to E of input image data, 1 to 7 virtual pixels are generated at 150% enlargement, and 1 to 3 virtual pixels are generated at 67% reduction. .
Then, for example, as shown in FIG. 7, if data having a main scanning length of 6,000 pixels is input to the scaling processing unit 207, the number of pixels after the 67% scaling processing is 4,020 pixels. If the boundary size is 512 pixels in the transfer from the image I / F unit 117 to the controller 120 side, as shown in FIG. 8, the main scanning size (image size) after scaling processing is 512 * 7 = If it is 3,584 pixels (the number of pixels of the maximum main scanning length that is an integral multiple of the boundary size) , the circuit configuration becomes easy. Therefore, 4,020-3,584 = 436 pixels are discarded.

変倍処理部207にて、それまでの画像転送(画像データの転送)に使用した変倍前の画素数およびその端数の情報を次の頁の画像転送期間まで保持し、画素数情報を外部メモリI/F部204へ通知することで、次の頁の画像有効領域に画像I/F部117からコントローラ120へ転送時に切り捨てられた分の領域を遡って外部メモリ118から画像データを取り込み、切り捨てられた部分の画像データを次の頁にて転送できる。 The scaling processing unit 207 holds the information on the number of pixels before scaling and the fractional number used for the previous image transfer (image data transfer) until the image transfer period of the next page, and stores the number of pixels information externally. By notifying the memory I / F unit 204, the image data is fetched from the external memory 118 by going back to the image effective area of the next page by tracing back the area that was discarded when transferred from the image I / F unit 117 to the controller 120, The truncated image data can be transferred on the next page .

このように、スキャナ画像処理部115aが、矩形分割した頁の画像データを変倍処理部207および画像I/F部117を経由して外部のコントローラ120へ転送する際に、変倍処理部207からの画像データの主走査サイズが画像I/F部117用のバウンダリサイズの整数倍にならないとき、そのバウンダリサイズの整数倍になる最大主走査長の画素までを転送し、残りの画素については切り捨てるように制御を行うことにより、画像I/F部117用のバウンダリサイズに画像データの主走査方向の転送サイズを合わせることができるため、画像I/F部117の回路構成を簡単にできる。つまり、矩形分割した頁の画像データを変倍処理してコントローラ120へ転送する場合の画質の劣化を低コストで防止することが可能になる。 As described above, when the scanner image processing unit 115 a transfers the image data of the divided pages to the external controller 120 via the scaling processing unit 207 and the image I / F unit 117, the scaling processing unit 207. When the main scan size of the image data from is not an integral multiple of the boundary size for the image I / F unit 117 , pixels up to the maximum main scan length that is an integral multiple of the boundary size are transferred, and the remaining pixels are By performing the control so as to cut down, the transfer size of the image data in the main scanning direction can be matched with the boundary size for the image I / F unit 117, so that the circuit configuration of the image I / F unit 117 can be simplified. That is, it is possible to prevent image quality degradation at a low cost when the image data of a page divided into rectangles is scaled and transferred to the controller 120.

〔第2実施例〕
次に、第2実施例について説明する。
この第2実施例は、第1実施例の構成に以下の構成を加えたものである。
図1のCPU111(ソフトウェア)は、外部(操作部121あるいはPC等の外部機器)からの指示によってバウンダリサイズを設定することができる。それによって、ハードウェアであるスキャナ画像処理部115aが、その設定値を基にしてバウンダリサイズの整数倍にならなかった画素を切り捨てることができる。
したがって、ハードウェアにてバウンダリサイズを計算する必要がない分だけ、ハードウェアの回路構成が簡単になる。
[Second Embodiment]
Next, a second embodiment will be described.
In the second embodiment, the following configuration is added to the configuration of the first embodiment.
The CPU 111 (software) in FIG. 1 can set the boundary size according to an instruction from the outside (the operation unit 121 or an external device such as a PC). As a result, the scanner image processing unit 115a, which is hardware, can discard pixels that have not become an integral multiple of the boundary size based on the set value.
Therefore, the hardware circuit configuration is simplified to the extent that the boundary size need not be calculated by hardware.

〔第3実施例〕
次に、第3実施例について説明する。
この第3実施例は、第1実施例の構成に以下の構成を加えたものである。
スキャナ画像処理部115a(ハードウェア)は、所定の条件に基づいてバウンダリサイズを自動的に計算することができる。
[Third embodiment]
Next, a third embodiment will be described.
In the third embodiment, the following configuration is added to the configuration of the first embodiment.
The scanner image processing unit 115a (hardware) can automatically calculate the boundary size based on a predetermined condition.

すなわち、画像転送手段である画像I/F部117からコントローラ120側への画像転送はバスを用いて行われるため、動作モードによって使用するバス幅は切り替えられるが、実際に使用する時点ではバス幅は確定している。また、バースト転送する場合のバースト長も設定できる。よって、実際に画像転送が行われるまでに、これらの情報(画像転送の条件)からスキャナ画像処理部115aが乗算回路等を使用してバウンダリサイズを計算することが可能になる。
したがって、ソフトウェアはハードウェアのバス幅やバースト長等の画像転送の条件の情報を持つ必要がない分だけ、ソフトウェアの構成が簡単になる。
That is, since the image transfer from the image I / F unit 117 serving as the image transfer means to the controller 120 side is performed using the bus, the bus width to be used is switched depending on the operation mode. Is fixed. The burst length for burst transfer can also be set. Therefore, before the actual image transfer is performed, it becomes possible for the scanner image processing unit 115a to calculate the boundary size from such information ( image transfer conditions) using a multiplication circuit or the like.
Therefore, the software configuration is simplified because it is not necessary to have information on image transfer conditions such as the hardware bus width and burst length.

〔第4実施例〕
次に、第4実施例について説明する。
この第4実施例は、第1実施例〜第3実施例のいずれかの構成に以下の構成を加えたものである。
[Fourth embodiment]
Next, a fourth embodiment will be described.
The fourth embodiment is obtained by adding the following configuration to any configuration of the first to third embodiments.

図3の変倍処理部207内の主走査任意変倍処理モジュールは、主走査任意変倍処理モジュールへ入力される主走査変倍処理前の画像データである矩形分割された頁の画像データの主走査方向の画素数(変倍前主走査サイズ)を逐次カウントする変倍前主走査カウンタと、主走査変倍処理後の後段モジュールへ転送される画像データの主走査方向の画素数(変倍後主走査サイズ)をカウントする変倍後主走査カウンタと、画像I/F部117からコントローラ120側への画像転送のバウンダリサイズ(設定値)を保持するバウンダリサイズレジスタと、変倍後主走査カウンタの値および変倍前主走査カウンタの値を保持するカウンタレジスタとを備えている。   The main scanning arbitrary scaling processing module in the scaling processing unit 207 in FIG. 3 is the image data of the page divided into rectangles which is the image data before the main scanning scaling processing input to the main scanning arbitrary scaling processing module. A main scanning counter before scaling that sequentially counts the number of pixels in the main scanning direction (main scanning size before scaling), and the number of pixels in the main scanning direction of image data transferred to the subsequent module after the main scanning scaling process A post-magnification main scan counter that counts the post-magnification main scan size), a boundary size register that holds a boundary size (setting value) for image transfer from the image I / F unit 117 to the controller 120, and a post-magnification main scan And a counter register for holding the value of the scanning counter and the value of the main scanning counter before magnification.

変倍前主走査カウンタは、主走査任意変倍処理モジュールへ入力されるラインゲート信号がアサートされている期間、カウントアップを行う。 変倍後主走査カウンタは、変倍処理部207から後段モジュールへ出力されるラインゲート信号がアサートされている期間、カウントアップを行う。   The pre-magnification main scanning counter counts up while the line gate signal input to the main scanning arbitrary magnification processing module is asserted. The post-magnification main scan counter counts up while the line gate signal output from the magnification processing unit 207 to the subsequent module is asserted.

主走査任意変倍処理モジュールは、変倍後主走査カウンタの値がバウンダリサイズレジスタの設定値の整数倍になる最大主走査長の値であることを検出すると、その時点の変倍後主走査カウンタの値および変倍前主走査カウンタの値をカウンタレジスタに保持させ、ラインゲート信号がネゲートした時点で、それらの値を矩形分割された次頁の画像データのコントローラ120側への転送が終わるまで保持させる。 When the main scanning arbitrary scaling processing module detects that the value of the main scanning counter after scaling is the maximum main scanning length value that is an integral multiple of the setting value of the boundary size register, the main scanning after scaling is performed at that time. The counter value and the pre-magnification main scanning counter value are held in the counter register, and when the line gate signal is negated, the transfer of the image data of the next page divided into rectangles to the controller 120 ends. Hold until.

矩形分割された次頁の画像データの転送を行う場合には、前頁でカウンタレジスタに保持していた変倍後主走査カウンタの値および変倍前主走査カウンタの値から、フィルタ処理等の画像処理で画質に影響を及ぼさないのりしろ量を考慮した転送すべき画像データを決定して外部メモリ118から読み込む。
このような構成により、矩形領域(矩形分割した頁)の画像データの転送を行う場合の各矩形領域間のつなぎ目部分の画質の劣化を確実に防止することができる。
〔第5実施例〕
次に、第5実施例について説明する。
この第5実施例は、第4実施例の構成に以下の構成を加えたものである。
When transferring the image data of the next page divided into rectangles, the filter processing or the like is performed based on the post-magnification main scan counter value and the pre-magnification main scan counter value held in the counter register on the previous page. The image data to be transferred is determined and read from the external memory 118 in consideration of the margin amount that does not affect the image quality in the image processing.
With such a configuration, it is possible to reliably prevent deterioration in the image quality of the joint portion between the rectangular areas when transferring the image data of the rectangular areas (rectangular divided pages).
[Fifth embodiment]
Next, a fifth embodiment will be described.
The fifth embodiment is obtained by adding the following configuration to the configuration of the fourth embodiment.

図3の変倍処理部207内の主走査任意変倍処理モジュールでは、変倍処理後の主走査サイズをカウントしているため、ラインゲート信号がネゲートしたタイミングで変倍処理後の画像データのバウンダリサイズの整数倍になる最大主走査サイズ(変倍後主走査カウンタの値)がわかる。この情報を画像I/F部117にて受け取り、実際に画像I/F部117からコントローラ120側へ画像転送を行うときに、変倍後主走査カウンタの値までの主走査サイズ分だけ画像データの転送を行い、残りの部分は転送を行わない(切り捨てる)。この場合、変倍処理後の画像データは全て画像I/F部117へ転送している。 The main scanning arbitrary scaling processing module in the scaling processing unit 207 in FIG. 3 counts the main scanning size after the scaling processing, so that the image data after the scaling processing is processed at the timing when the line gate signal is negated. The maximum main scanning size (the value of the main scanning counter after scaling) that is an integral multiple of the boundary size is known. When this information is received by the image I / F unit 117 and actually transferred from the image I / F unit 117 to the controller 120, image data corresponding to the main scanning size up to the value of the main scanning counter after scaling is obtained. Is transferred, and the remaining part is not transferred (truncated). In this case, all the image data after the scaling process is transferred to the image I / F unit 117.

このように、画像I/F部117が、変倍後主走査カウンタの値がバウンダリサイズの整数倍になる最大主走査サイズの値になったときのその変倍後主走査カウンタの値を受け取り、変倍処理部207から受け取った画像データのうち、変倍後主走査カウンタの値までの主走査サイズ分の画像データをコントローラ120へ転送することにより、画像I/F部117用のバウンダリサイズの整数倍になる最大主走査サイズまでの画像データのみを確実に転送することができる。 As described above, the image I / F unit 117 receives the value of the main scanning counter after scaling when the value of the main scanning counter after scaling reaches the maximum main scanning size value that is an integral multiple of the boundary size. The image data for the main scanning size up to the value of the main scanning counter after scaling among the image data received from the scaling processing unit 207 is transferred to the controller 120, whereby the boundary size for the image I / F unit 117 is transferred. Only the image data up to the maximum main scanning size which is an integral multiple of can be reliably transferred.

〔第6実施例〕
次に、第6実施例について説明する。
この第6実施例は、第1実施例〜第4実施例のいずれかの構成に以下の構成を加えたものである。
[Sixth embodiment]
Next, a sixth embodiment will be described.
The sixth embodiment is obtained by adding the following configuration to any one of the first to fourth embodiments.

図3の変倍処理部207の主走査任意変倍処理モジュールは、入力される画像データに対して主走査変倍処理(主走査方向の変倍処理)を行った場合に、その主走査変倍処理後の画像データ(ラインデータ)を格納するラインバッファ(記憶手段)を備え、そのラインバッファに一度主走査変倍処理後の画像データを格納する。その後、ラインバッファ内の画像データを読み出して画像I/F部117へ転送することで、変倍処理後の画像データの主走査サイズもわかっているため、画像I/F部117のバウンダリサイズ(バウンダリサイズレジスタに保持されている)の整数倍になる最大主走査長までの画像データを画像I/F部117へ転送することにより、バウンダリサイズの整数倍にならなかった画素を切り捨てる。つまり、画像I/F部117へは画素切り捨て後のバウンダリサイズの整数倍になる画像データを転送する。 The main scanning arbitrary scaling processing module of the scaling processing unit 207 in FIG. 3 performs the main scanning scaling processing when the main scanning scaling processing (magnification processing in the main scanning direction) is performed on the input image data. A line buffer (storage means) for storing the image data (line data) after the magnification processing is provided, and the image data after the main scanning scaling processing is once stored in the line buffer. After that, the image data in the line buffer is read out and transferred to the image I / F unit 117, so that the main scan size of the image data after the scaling process is also known. Therefore, the boundary size of the image I / F unit 117 ( By transferring the image data up to the maximum main scanning length which is an integral multiple of the boundary size register) to the image I / F unit 117, pixels that have not become an integral multiple of the boundary size are discarded. That is, image data that is an integral multiple of the boundary size after pixel truncation is transferred to the image I / F unit 117.

このように、変倍処理部207が、変倍処理後の画像データをラインバッファに一時記憶させ、その画像データを画像I/F部117へ転送する際に、その画像データの主走査サイズを画像I/F部117用のバウンダリサイズの整数倍になる画素数に調整することにより、画像I/F部117用のバウンダリサイズの整数倍になる主走査サイズまでの画像データのみを確実に転送することができる。 As described above, when the scaling processing unit 207 temporarily stores the image data after scaling processing in the line buffer and transfers the image data to the image I / F unit 117, the main scanning size of the image data is set. By adjusting the number of pixels to be an integral multiple of the boundary size for the image I / F unit 117, only image data up to the main scanning size that is an integral multiple of the boundary size for the image I / F unit 117 is reliably transferred. can do.

〔第7実施例〕
次に、第7実施例について説明する。
この第7実施例は、第1実施例〜第6実施例のいずれかの構成に以下の構成を加えたものである。
[Seventh embodiment]
Next, a seventh embodiment will be described.
The seventh embodiment is obtained by adding the following configuration to any one of the first to sixth embodiments.

スキャナ画像処理部115aにおいて、矩形分割された前頁の転送で切り捨てられた436画素分を次頁にて転送しなくてはならないため、変倍処理後のサイズで実際に後段モジュールに転送された3,584画素が、変倍処理前の画像サイズで何画素に対応するかという情報が必要になる。そのためには、変倍処理部207において、変倍処理前の画素をカウントしておき、次頁の転送までそのカウント情報を変倍前画素位置情報として保持しておかなければならない。   In the scanner image processing unit 115a, the 436 pixels that were cut off by the transfer of the previous page divided into rectangles must be transferred to the next page, so that the size after the scaling process was actually transferred to the subsequent module. Information on how many pixels 3,584 pixels correspond to the image size before scaling processing is required. For this purpose, the scaling processing unit 207 must count the pixels before the scaling process and hold the count information as the pre-scaling pixel position information until the next page is transferred.

図8の例では、5,349(3,584/0.67)画素のカウント情報を変倍前画素位置情報として保持しておく必要がある。また、変倍処理では仮想画素を生成していくため、必ずしも変倍処理前の画素位置と一致しているわけではない。図8の例では、端数2/8に相当する。よって、この端数情報も次頁まで保持しておき、次頁の変倍処理にて使用する。
切り捨てられた画素を考慮して次頁の画像転送を行おうとすると、本来は外部メモリ118から読み出す画素を6,000−304=5,696画素目からにするべきところを、5,349−304=5,045画素目からに変更することになる。
In the example of FIG. 8, it is necessary to hold count information of 5,349 (3,584 / 0.67) pixels as pre-magnification pixel position information. In addition, since the virtual pixel is generated in the scaling process, it does not necessarily coincide with the pixel position before the scaling process. In the example of FIG. 8, this corresponds to a fraction of 2/8. Therefore, this fraction information is also held up to the next page and used in the scaling process of the next page.
If the image transfer of the next page is performed in consideration of the truncated pixels, the pixels to be originally read from the external memory 118 are to be changed from the 6,000-304 = 5,696th pixels to the 5,349-304. = 5,045th pixel is changed.

このように、スキャナ画像処理部115aが、変倍処理部207を経由してコントローラ120へ転送した矩形分割した前頁の画像データから切り捨てた画素数を考慮して、矩形分割した次頁の画像データにその画素分を遡った画像データから変倍処理部207を経由してコントローラ120へ転送することにより、矩形領域(矩形分割した頁)の画像データの転送を行う場合の各矩形領域間のつなぎ目部分の画質の劣化をより確実に防止することができる。   In this way, the image of the next page that has been divided into rectangles in consideration of the number of pixels that the scanner image processing unit 115a has cut off from the image data of the previous page that has been divided into rectangles and transferred to the controller 120 via the scaling processing unit 207. By transferring the image data of the pixel back to the controller 120 via the scaling processing unit 207 from the image data traced back to the pixel, between the rectangular areas when transferring the image data of the rectangular area (rectangular divided pages) It is possible to more reliably prevent deterioration in image quality at the joint portion.

〔第8実施例〕
次に、第8実施例について説明する。
図3のスキャナ画像処理部115aにおいて、変倍処理部207による変倍処理前の画像データの主走査サイズおよび変倍率が予め分かっていれば、ソフトウェアによって変倍処理後の画像データの主走査サイズが求められるため、その主走査サイズがバウンダリサイズに合うように、予め矩形分割する頁の画像データの主走査サイズ(主走査長)を計算し、設定することができる。それによって、再転送する画像データの主走査サイズ(画像サイズ幅)を固定長にできる。
[Eighth embodiment]
Next, an eighth embodiment will be described.
In the scanner image processing unit 115a of FIG. 3, if the main scanning size and the scaling factor of the image data before scaling processing by the scaling processing unit 207 are known in advance, the main scanning size of the image data after scaling processing is determined by software. Therefore, the main scan size (main scan length) of the image data of the page to be divided into rectangles can be calculated and set in advance so that the main scan size matches the boundary size. Thereby, the main scanning size (image size width) of the image data to be retransferred can be fixed.

このように、スキャナ画像処理部115aが、変倍処理部207による変倍処理後の画像データの主走査方向のサイズが所定のバウンダリサイズに合うように、予め矩形分割する頁の画像データの主走査方向のサイズを計算して設定することにより、その画像データがバウンダリサイズに合わなくなることがなくなるため、不必要な画像データの再転送を行う必要がなくなり、転送効率が向上する。つまり、矩形分割した頁の画像データを変倍処理してコントローラ120へ転送する場合の画質の劣化を低コストで効率良く防止することが可能になる。   As described above, the main image data of the page that is divided into rectangles in advance by the scanner image processing unit 115a so that the size of the image data in the main scanning direction after the scaling processing by the scaling processing unit 207 matches the predetermined boundary size. By calculating and setting the size in the scanning direction, the image data does not fit the boundary size, so that it is not necessary to re-transfer unnecessary image data, and the transfer efficiency is improved. That is, it is possible to efficiently prevent the image quality deterioration at low cost when the image data of the divided pages is subjected to the scaling process and transferred to the controller 120.

〔第9実施例〕
次に、第9実施例について説明する。
図9は、ラインゲート幅の調整を説明するためのスキャナ画像処理部115aの構成とデータの流れの一例を示す説明図である。
[Ninth embodiment]
Next, a ninth embodiment will be described.
FIG. 9 is an explanatory diagram showing an example of the configuration and data flow of the scanner image processing unit 115a for explaining the adjustment of the line gate width.

図3のスキャナ画像処理部115aにおいて、読取ユニット112からの画像転送が開始されると、外部メモリI/F部204が入力I/F部201から画像データを受け取り、外部メモリ118への最初の1ライン分の画像転送が完了すると、その主走査サイズを検出することができる(図10の(a)参照)。もしくは、予め(実際に画像処理を開始する前に)主走査サイズをソフトウェアによりレジスタへ設定してもらう。   When image transfer from the reading unit 112 is started in the scanner image processing unit 115a in FIG. 3, the external memory I / F unit 204 receives image data from the input I / F unit 201, and the first image data to the external memory 118 is received. When the image transfer for one line is completed, the main scanning size can be detected (see FIG. 10A). Alternatively, the main scanning size is set in the register in advance by software (before actually starting image processing).

その後、図9に示すように、スキャナ画像処理部115a内で自動的にラインゲート信号と同等のダミーラインゲート信号を外部メモリI/F部204から変倍処理部207に対して発行させ、変倍処理後の主走査サイズがバウンダリサイズに合うように、実際に使用する(実際の画像転送時の)ラインゲート信号の幅(以下「ラインゲート幅」ともいう)を図示しない専用の計算回路で計算しておく。つまり、予め矩形分割する頁の画像データを変倍処理部207へ転送する前に、その画像データの主走査サイズをダミーラインゲート信号を使用して自動調整する。ラインゲート幅の情報は、主走査方向への矩形分割した個数分必要である。   After that, as shown in FIG. 9, a dummy line gate signal equivalent to the line gate signal is automatically issued from the external memory I / F unit 204 to the scaling processing unit 207 in the scanner image processing unit 115a, and the change is made. A dedicated calculation circuit (not shown) determines the width of the line gate signal actually used (during actual image transfer) (hereinafter also referred to as “line gate width”) so that the main scanning size after the doubling processing matches the boundary size. Calculate it. That is, before the image data of the page to be divided into rectangles is transferred to the scaling unit 207 in advance, the main scan size of the image data is automatically adjusted using the dummy line gate signal. The information of the line gate width is required for the number of rectangles divided in the main scanning direction.

実際の画像転送時には、この事前に決定したラインゲート幅に基づいて、前後ののりしろ分を付加した画像サイズ分の画像データ(矩形分割された画像データ)を外部メモリ118から読み出すことにより、不要な画像データの再転送を防げる。
なお、ラインゲート幅を決定するためのダミーラインゲート信号を発行する際、つまりラインゲート幅を決定する際には、外部メモリ118へのアクセスを禁止することにより、外部メモリ118からの画像データの読み出し、コントローラ120への画像転送を行わない。これは、後述する第10実施例でも同様とする。
At the time of actual image transfer, unnecessary image data is read out from the external memory 118 by reading out image data (image data divided into rectangles) for the image size to which the margins before and after are added based on the predetermined line gate width. Prevent re-transfer of image data.
When a dummy line gate signal for determining the line gate width is issued, that is, when the line gate width is determined, access to the external memory 118 is prohibited, thereby preventing the image data from the external memory 118 from being accessed. Reading and image transfer to the controller 120 are not performed. The same applies to the tenth embodiment described later.

このように、スキャナ画像処理部115aが、矩形分割した頁の画像データを変倍処理部207へ転送する前に、その画像データの主走査サイズをダミーラインゲート信号を使用して自動調整する(変倍処理後の画像データの主走査サイズがバウンダリサイズに合うようにラインゲート幅を専用の計算回路が計算する)ことにより、ソフトウェアによってラインゲート幅を計算することなく、無駄な画像データの再転送の発生がなくなり、転送効率が上がる。つまり、矩形分割した頁の画像データを変倍処理してコントローラ120へ転送する場合の画質の劣化を低コストで効率良く防止することが可能になる。
また、ダミーラインゲート信号を発行する(ラインゲート幅を決定する)際には、外部メモリ118へのアクセスを禁止することにより、無駄な画像データ転送が行われないため、画像転送効率に悪影響を及ぼさずに済む。
As described above, the scanner image processing unit 115a automatically adjusts the main scan size of the image data using the dummy line gate signal before transferring the image data of the divided pages to the scaling processing unit 207 ( (The dedicated calculation circuit calculates the line gate width so that the main scan size of the image data after scaling processing matches the boundary size), so that unnecessary image data can be restored without calculating the line gate width by software. There is no transfer and the transfer efficiency is increased. That is, it is possible to efficiently prevent the image quality deterioration at low cost when the image data of the divided pages is subjected to the scaling process and transferred to the controller 120.
Further, when issuing a dummy line gate signal (determining the line gate width), prohibiting access to the external memory 118 prevents unnecessary image data transfer, which adversely affects image transfer efficiency. You do n’t have to.

〔第10実施例〕
次に、第10実施例について説明する。
図3のスキャナ画像処理部115aにおいて、読取ユニット112からの画像転送が開始されると、外部メモリI/F部204が入力I/F部201から画像データを受け取り、外部メモリ118への最初の1ライン分の画像転送が完了すると、その主走査サイズを検出することができる(図10の(a)参照)。もしくは、予め主走査サイズをソフトウェアによりレジスタへ設定してもらう。その後、図9に示したように、スキャナ画像処理部115a内で自動的にダミーラインゲート信号を外部メモリI/F部204から変倍処理部207に対して発行させる。
[Tenth embodiment]
Next, a tenth embodiment will be described.
When image transfer from the reading unit 112 is started in the scanner image processing unit 115a in FIG. 3, the external memory I / F unit 204 receives image data from the input I / F unit 201, and the first image data to the external memory 118 is received. When the image transfer for one line is completed, the main scanning size can be detected (see FIG. 10A). Alternatively, the main scan size is set in advance in the register by software. Thereafter, as shown in FIG. 9, a dummy line gate signal is automatically issued from the external memory I / F unit 204 to the scaling unit 207 in the scanner image processing unit 115a.

変倍処理部207は、変倍処理後の画像データ(画像I/F部117にて転送すべき画像データ)の主走査サイズがバウンダリサイズに合うように、ダミーラインゲート信号に基づいて実際の変倍処理時と同じ演算を内部の変倍制御回路(前述した各カウンタ等からなるもの)に行わせて矩形分割する頁の画像データの主走査サイズを計算し、その計算結果に基づいてラインゲート幅の情報とその時点の変倍処理による端数情報とを保持する。また、ダミーラインゲート信号がネゲートされたときのラインゲート幅の情報を外部メモリI/F部204へ通知する。端数情報は、次のダミーラインゲート信号が発行されたときの変倍処理に使用する。   The scaling processing unit 207 performs actual processing based on the dummy line gate signal so that the main scanning size of the image data after the scaling processing (image data to be transferred by the image I / F unit 117) matches the boundary size. The main scanning size of the image data of the page to be divided into rectangles is calculated by causing the internal scaling control circuit (consisting of the above-described counters, etc.) to perform the same operation as the scaling process, and the line is based on the calculation result. The gate width information and the fraction information by the scaling process at that time are held. Further, the external memory I / F unit 204 is notified of information on the line gate width when the dummy line gate signal is negated. The fraction information is used for scaling processing when the next dummy line gate signal is issued.

図10はスキャナ画像処理部115aにおけるダミーラインゲート信号を使用した場合の動作の概要例を示すタイミングチャートであり、画像データに対して主走査方向に4つの矩形分割を行う場合の例である。
スキャナ画像処理部115aでは、外部メモリI/F部204が実際に外部メモリ118から矩形分割した頁の画像データの読み出しを開始する前に、変倍処理部207に対して図10の(c)に示すようなダミーラインゲート信号を発行する。
FIG. 10 is a timing chart showing an example of an outline of operation when a dummy line gate signal is used in the scanner image processing unit 115a, and shows an example in which four rectangular divisions are performed on the image data in the main scanning direction.
In the scanner image processing unit 115a, before the external memory I / F unit 204 actually starts reading out the image data of the page divided into rectangles from the external memory 118, the scaling processing unit 207 in FIG. A dummy line gate signal as shown in FIG.

変倍処理部207は、そのダミーラインゲート信号に基づいて実際の変倍処理時と同様の演算を行うことで、上述したように、事前に実際に使用するラインゲート幅b1,b2,b3,b4と端数B1,B2,B3,B4を決定する。
外部メモリI/F部204は、そのラインゲート幅b1,b2,b3,b4を使用して外部メモリ118から画像データを読み込む。
図11は、スキャナ画像処理部115aにおけるダミーラインゲート信号を使用した場合の実際に使用するラインゲート幅および端数の決定方法の一例を説明するためのタイミングチャートである。
The scaling unit 207 performs the same calculation as in the actual scaling process based on the dummy line gate signal, so that the line gate widths b1, b2, b3 that are actually used in advance as described above. b4 and fractions B1, B2, B3, B4 are determined.
The external memory I / F unit 204 reads image data from the external memory 118 using the line gate widths b1, b2, b3, and b4.
FIG. 11 is a timing chart for explaining an example of a method for determining a line gate width and a fraction to be actually used when a dummy line gate signal is used in the scanner image processing unit 115a.

変倍処理部207は、ダミーラインゲート信号がアサートされると、そのアサート期間をカウントする。また、変倍処理後の画素数もカウントしていき、変倍処理後の画素数が画像I/F部117のバウンダリサイズの整数倍になったときのダミーラインゲート信号のアサート期間のカウント数と変倍処理による端数情報を保持する(図11では、画像I/F部117のバウンダリサイズを「128」と仮定している。そのときの入力ラインゲートカウンタの値をa,b、主走査座標の端数の値をA,Bとしている)。
これをダミーラインゲート信号がネゲートされるまで繰り返し、最後の情報が実際に使用されるラインゲート幅と端数の情報となる。主走査座標の端数は、次の矩形領域用のダミーラインゲート信号のアサート時に使用される。
When the dummy line gate signal is asserted, the scaling unit 207 counts the assert period. In addition, the number of pixels after scaling processing is also counted, and the number of assertion periods of the dummy line gate signal when the number of pixels after scaling processing is an integral multiple of the boundary size of the image I / F unit 117 (In FIG. 11, it is assumed that the boundary size of the image I / F unit 117 is “128”. In this case, the values of the input line gate counter are a and b, and the main scanning is performed. The value of the fraction of coordinates is A and B).
This is repeated until the dummy line gate signal is negated, and the last information becomes the information of the actually used line gate width and fraction. The fraction of the main scanning coordinate is used when the dummy line gate signal for the next rectangular area is asserted.

このように、スキャナ画像処理部115aが、矩形分割した頁の画像データを変倍処理部207へ転送する前までに、変倍処理部207による変倍処理後の画像データの主走査方向のサイズがバウンダリサイズに合うように、ダミーラインゲート信号を使用し、変倍処理部207の変倍制御回路に実際の変倍処理時と同じ演算を行わせて矩形分割する頁の画像データの主走査方向のサイズを計算し、その計算結果に基づいてラインゲート幅を決定することにより、第9実施例と略同様の効果を得ることができる。この場合、ラインゲート幅を計算する際、変倍処理時に実際に使用する変倍制御回路を使用するため、専用の計算回路を追加する必要がない。   As described above, the size of the image data in the main scanning direction after the scaling processing by the scaling processing unit 207 before the scanner image processing unit 115a transfers the image data of the divided pages to the scaling processing unit 207. The main scan of the image data of the page to be divided into rectangles by using the dummy line gate signal so that the size is matched with the boundary size and causing the scaling control circuit of the scaling processing unit 207 to perform the same operation as in the actual scaling process. By calculating the size in the direction and determining the line gate width based on the calculation result, it is possible to obtain substantially the same effect as in the ninth embodiment. In this case, when the line gate width is calculated, a scaling control circuit that is actually used during scaling processing is used, so there is no need to add a dedicated calculation circuit.

以上、この発明をMFPに適用した実施形態について説明したが、この発明はこれに限らず、デジタル複写機,ファクシミリ装置,プリンタ等の他の画像形成装置には勿論、画像読取装置(スキャナ装置等)や、PC等の各種画像処理装置に適用可能である。   The embodiment in which the present invention is applied to the MFP has been described above. However, the present invention is not limited to this, and other image forming apparatuses such as a digital copying machine, a facsimile apparatus, and a printer, as well as an image reading apparatus (scanner apparatus, etc.). ) And various image processing apparatuses such as a PC.

以上の説明から明らかなように、この発明によれば、矩形分割した頁の画像データを変倍処理して外部へ転送する場合の画質の劣化を低コストで防止することができる。したがって、高画質且つ低コストの画像処理装置を提供できる。   As is apparent from the above description, according to the present invention, it is possible to prevent image quality degradation at a low cost when the image data of a rectangularly divided page is subjected to scaling processing and transferred to the outside. Therefore, an image processing apparatus with high image quality and low cost can be provided.

この発明の一実施形態であるMFPのハードウェア構成例を示すブロック図である。1 is a block diagram illustrating a hardware configuration example of an MFP according to an embodiment of the present invention. 図1のエンジン部110の具体的構成例を示すブロック図である。It is a block diagram which shows the specific structural example of the engine part 110 of FIG. 図2のスキャナ画像処理部115aの構成とデータの流れの一例を示す説明図である。It is explanatory drawing which shows an example of a structure and data flow of the scanner image processing part 115a of FIG. 図1の外部メモリ118上の画像データに対して矩形分割処理を行う場合の分割後の各画像サイズとのりしろの一例を示す説明図である。It is explanatory drawing which shows an example of the margin with each image size after a division | segmentation in the case of performing a rectangular division process with respect to the image data on the external memory 118 of FIG.

図4に示した分割した矩形領域と各モジュールへの画像有効領域に対応する各ゲート信号との関係の一例を示す説明図である。FIG. 5 is an explanatory diagram illustrating an example of a relationship between a divided rectangular area illustrated in FIG. 4 and each gate signal corresponding to an image effective area for each module. 図3の変倍処理部207が画像データに対して行う主走査方向への150%(拡大)と67%(縮小)の変倍処理を説明するための図である。FIG. 4 is a diagram for explaining a scaling process of 150% (enlargement) and 67% (reduction) in the main scanning direction performed on image data by the scaling process unit 207 of FIG. 3. 図3のフィルタ処理部206等に必要な画素数、変倍処理部207への入力画素数、変倍処理部207による変倍後の画素数、および画像I/F部117からコントローラ120へ出力される画像サイズの一例を説明するための概念図である。The number of pixels necessary for the filter processing unit 206 in FIG. 3, the number of input pixels to the scaling processing unit 207, the number of pixels after scaling by the scaling processing unit 207, and the output from the image I / F unit 117 to the controller 120 It is a conceptual diagram for demonstrating an example of the image size performed. 図3の画像I/F部117用の所定のバウンダリサイズの整数倍にならなかった残りの画素の切り捨てと、次の頁での切り捨てられた画素分の追加方法を説明するための図である。FIG. 4 is a diagram for explaining a method of truncating the remaining pixels that have not become an integral multiple of a predetermined boundary size for the image I / F unit 117 of FIG. 3 and a method of adding the discarded pixels on the next page. .

ラインゲート幅の調整を説明するための図3のスキャナ画像処理部115aの構成とデータの流れの一例を示す説明図である。It is explanatory drawing which shows an example of a structure and data flow of the scanner image processing part 115a of FIG. 3 for demonstrating adjustment of a line gate width. 図9に示したスキャナ画像処理部115aにおけるダミーラインゲート信号を使用した場合の動作の概要例を示すタイミング図である。FIG. 10 is a timing diagram illustrating an outline example of an operation when a dummy line gate signal is used in the scanner image processing unit 115a illustrated in FIG. 9. 図9に示したスキャナ画像処理部115aにおけるダミーラインゲート信号を使用した場合の実際に使用するラインゲート幅および端数の決定方法の一例を説明するためのタイミング図である。FIG. 10 is a timing chart for explaining an example of a method of determining a line gate width and a fraction to be actually used when a dummy line gate signal is used in the scanner image processing unit 115a shown in FIG.

100:MFP 110:エンジン部 111:CPU 112:読取ユニット
113:書込ユニット 114:ASIC−E 115:画像処理部
115a:スキャナ画像処理部 115b:プリンタ画像処理部
117:画像I/F部 118:外部メモリ 120:コントローラ
121:操作部 122:HDD 123:CPU 124:ASIC−C
125:回転器 126:編集器 127:MEM−C 128:NB
129:MEM−P 130:ASIC 131,132:OPTION
133:SB 134:ROM 201:入力I/F部
202,203:FIFO 204:外部メモリI/F部 205:前処理部
206:フィルタ処理部 207:変倍処理部
100: MFP 110: Engine unit 111: CPU 112: Reading unit 113: Writing unit 114: ASIC-E 115: Image processing unit 115a: Scanner image processing unit 115b: Printer image processing unit 117: Image I / F unit 118: External memory 120: Controller 121: Operation unit 122: HDD 123: CPU 124: ASIC-C
125: Rotator 126: Editor 127: MEM-C 128: NB
129: MEM-P 130: ASIC 131, 132: OPTION
133: SB 134: ROM 201: Input I / F unit 202, 203: FIFO 204: External memory I / F unit 205: Preprocessing unit 206: Filter processing unit 207: Scaling processing unit

Claims (6)

画像データを複数の頁に矩形分割する矩形分割手段と、該矩形分割手段によって矩形分割された頁の画像データに対して主走査方向の変倍処理を施す変倍処理手段と、該変倍処理手段によって変倍された画像データを外部へ転送する画像転送手段とを有する画像処理装置であって、
前記矩形分割手段によって矩形分割された頁の画像データが前記変倍処理手段を経由して前記画像転送手段によって外部へ転送される際に、前記変倍処理手段からの画像データの主走査方向のサイズが、前記画像転送手段における画像転送の条件に応じた画素数の設定値であるバウンダリサイズの整数倍にならないときは、そのバウンダリサイズの整数倍になる最大主走査長までの画像データを転送、残りの画素については切り捨て、少なくともそれまでの画像転送に使用した変倍前の画素数を次頁の画像データ転送期間まで保持し、次頁の画像データの転送を行う際に、保持している前記変倍前の画素数に基づいて、次頁の画像データに前記切り捨てた画素数分遡った画像データから前記変倍処理手段を経由して外部へ転送するように制御を行う制御手段を設けたことを特徴とする画像処理装置。
Rectangle dividing means for dividing image data into a plurality of pages, scaling processing means for performing scaling processing in the main scanning direction on the image data of the pages divided into rectangles by the rectangle dividing means, and the scaling processing An image processing apparatus having image transfer means for transferring image data scaled by the means to the outside ,
When the image data of the rectangle divided page is transferred to the outside by the image transfer means via said scaling means by said block dividing means, in the main scanning direction of the image data from the magnification processing unit When the size does not become an integral multiple of the boundary size , which is the set value of the number of pixels according to the image transfer conditions in the image transfer means , the image data up to the maximum main scanning length that is an integral multiple of the boundary size is transferred. The remaining pixels are discarded , and at least the number of pixels before scaling used for image transfer up to that time is held until the image data transfer period for the next page, and is held when transferring the image data for the next page. and that on the basis of the number of pixels before scaling, to transfer the image data back number of pixels truncated said the image data of the next page to the outside via said scaling means control The image processing apparatus characterized in that a control means for performing.
請求項1記載の画像処理装置において、
前記バウンダリサイズが画像転送バスのバス幅から計算される画素数の設定値であることを特徴とする画像処理装置。
Oite the image processing apparatus according to claim 1,
An image processing apparatus, wherein the boundary size is a set value of the number of pixels calculated from a bus width of an image transfer bus .
請求項1記載の画像処理装置において、
前記バウンダリサイズがバースト転送のバースト長から計算される画素数の設定値であることを特徴とする画像処理装置。
Oite the image processing apparatus according to claim 1,
The image processing apparatus according to claim 1, wherein the boundary size is a set value of the number of pixels calculated from a burst length of burst transfer .
請求項1乃至3のいずれか一項に記載の画像処理装置において、
前記制御手段は、前記変倍処理手段へ入力される変倍処理前の画像データである前記矩形分割手段によって矩形分割された頁の画像データの主走査方向の画素数をカウントする変倍前主走査カウンタと、前記変倍処理手段による主走査方向の変倍処理後に外部へ転送される画像データの主走査方向の画素数をカウントする変倍後主走査カウンタと、前記バウンダリサイズを保持するバウンダリサイズレジスタと、前記変倍後主走査カウンタの値が前記バウンダリサイズの整数倍になる最大主走査長の値であることを検出すると、その時点の前記変倍後主走査カウンタの値および前記変倍前主走査カウンタの値を保持し、それらの値を前記矩形分割手段によって矩形分割された次頁の画像データの外部への転送が終わるまで保持するカウンタレジスタとを有し、次頁の画像データの転送を行う際に、前記カウンタレジスタが保持している値から転送すべき画像データを決定することを特徴とする画像処理装置。
Oite the image processing apparatus according to any one of claims 1 to 3,
The control means counts the number of pixels in the main scanning direction of the image data of the page divided into rectangles by the rectangle dividing means, which is image data before the magnification processing input to the magnification processing means. A scanning counter, a post-magnification main scanning counter that counts the number of pixels in the main scanning direction of image data transferred to the outside after scaling processing in the main scanning direction by the scaling processing unit, and a boundary that holds the boundary size When it is detected that the value of the size register and the post-magnification main scan counter are the maximum main scan length value that is an integral multiple of the boundary size, the post-magnification main scan counter value and the change holding the multiplied value before the main scan counter, held until the end of the transfer to the outside of the image data of the rectangle divided next page by the values the block dividing means Kauntare And a static, when the transfer of image data for the next page, the image processing apparatus, characterized in that the counter register to determine the image data to be transferred from the value held.
請求項4記載の画像処理装置において、
前記画像転送手段は、前記制御手段の一部を有し、前記変倍後主走査カウンタの値が前記バウンダリサイズの整数倍になる最大主走査長の値であったときの該変倍後主走査カウンタの値を受け取り、前記変倍処理手段から受け取った画像データのうち、前記変倍後主走査カウンタの値までの主走査方向のサイズ分の画像データを外部へ転送することを特徴とする画像処理装置。
Oite the image processing apparatus according to claim 4,
The image transfer means includes a part of the control means, and the post-magnification main scan counter value when the post-magnification main scan counter value is a maximum main scan length value that is an integral multiple of the boundary size. A scan counter value is received, and among the image data received from the scaling processing means, image data for the size in the main scanning direction up to the scaled main scan counter value is transferred to the outside. Image processing device.
請求項1乃至4のいずれか一項に記載の画像処理装置において、
前記制御手段は、前記変倍処理手段による変倍処理後の画像データを記憶する記憶手段を有し、該記憶手段に記憶された画像データを前記画像転送手段へ転送する際に、その画像データを前記バウンダリサイズの整数倍になる最大主走査長まで前記画像転送手段へ転送することを特徴とする画像処理装置。
Oite the image processing apparatus according to any one of claims 1 to 4,
The control means has storage means for storing the image data after the scaling process by the scaling processing means, and when transferring the image data stored in the storage means to the image transfer means, the image data the image processing apparatus characterized by transferring to the image transfer means to the maximum main scanning length an integral multiple of the boundary size.
JP2007143771A 2007-05-30 2007-05-30 Image processing device Expired - Fee Related JP4956282B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007143771A JP4956282B2 (en) 2007-05-30 2007-05-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007143771A JP4956282B2 (en) 2007-05-30 2007-05-30 Image processing device

Publications (2)

Publication Number Publication Date
JP2008299519A JP2008299519A (en) 2008-12-11
JP4956282B2 true JP4956282B2 (en) 2012-06-20

Family

ID=40173005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007143771A Expired - Fee Related JP4956282B2 (en) 2007-05-30 2007-05-30 Image processing device

Country Status (1)

Country Link
JP (1) JP4956282B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6117494B2 (en) * 2012-08-08 2017-04-19 株式会社メガチップス Image processing interface circuit
JP6117495B2 (en) * 2012-08-08 2017-04-19 株式会社メガチップス Image processing device
US9552619B2 (en) 2012-08-08 2017-01-24 Megachips Corporation Image processing apparatus and image processing interface circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3870190B2 (en) * 2002-12-26 2007-01-17 キヤノン株式会社 Image processing device
JP2004220584A (en) * 2002-12-26 2004-08-05 Canon Inc Image processing device and image processing method
JP4384124B2 (en) * 2002-12-26 2009-12-16 キヤノン株式会社 Image processing apparatus and image processing method
JP2005124071A (en) * 2003-10-20 2005-05-12 Canon Inc Image processing apparatus and image processing method, computer readable storage medium with program stored thereon, and program

Also Published As

Publication number Publication date
JP2008299519A (en) 2008-12-11

Similar Documents

Publication Publication Date Title
JP5812669B2 (en) Image processing apparatus, image processing method, and computer program.
US8937753B2 (en) Image scanning apparatus, image compensation method and computer-readable recording medium
JP5388559B2 (en) Image processing apparatus, image processing method, program for executing image processing method, and storage medium
JP5391873B2 (en) Image forming apparatus
JP2007200170A (en) Image processor and image processing program
US8976408B2 (en) Apparatus, method, and computer-readable storage medium for maintaining reproducibility of lines or characters of image
JP5379660B2 (en) Image processing apparatus and control method thereof
US20080082919A1 (en) Image display controlling device, imaging device, and image display method
JP4956282B2 (en) Image processing device
JP2011198291A (en) Image processing apparatus, image processing method, and computer program
JP3902173B2 (en) Image scaling method and photo printing apparatus for implementing the method
JP2002232654A (en) Device and method for image processing and computer readable recording medium with program for making computer perform the method recorded thereon
JP2009171563A (en) Image processor, image processing method,program for executing image processing method, and storage medium
JPH1141473A (en) Image processor, image recording device, and image forming device
JPH11196258A (en) Unit and method for processing image
JP2007226330A (en) Image processor, image processing method, and program for making computer execute the same method
US9679231B2 (en) Copier and method in which print processing proceeds prior to storing all read image data exceeding predetermined size when ACS is selected
US9195160B2 (en) Image forming apparatus and image forming method for correcting registration deviation
JP4675864B2 (en) Image forming apparatus
JP2005031759A (en) Image processor and image processing method to which spatial filter is applied
JP4999729B2 (en) Image processing method and image processing apparatus
JP2006088375A (en) Image forming apparatus
JP4881897B2 (en) Image processing method and image processing apparatus
JP2004056252A (en) Copying device and copying method
US20180159995A1 (en) Image forming apparatus that ensures trial printing and recording medium therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111117

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120316

R150 Certificate of patent or registration of utility model

Ref document number: 4956282

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150323

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees