JP2012191556A - Image forming device, image forming method, program, and recording medium - Google Patents

Image forming device, image forming method, program, and recording medium Download PDF

Info

Publication number
JP2012191556A
JP2012191556A JP2011055257A JP2011055257A JP2012191556A JP 2012191556 A JP2012191556 A JP 2012191556A JP 2011055257 A JP2011055257 A JP 2011055257A JP 2011055257 A JP2011055257 A JP 2011055257A JP 2012191556 A JP2012191556 A JP 2012191556A
Authority
JP
Japan
Prior art keywords
image
block
data
processing
image forming
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.)
Granted
Application number
JP2011055257A
Other languages
Japanese (ja)
Other versions
JP5742320B2 (en
Inventor
Ryuichi Sato
隆一 佐藤
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 JP2011055257A priority Critical patent/JP5742320B2/en
Publication of JP2012191556A publication Critical patent/JP2012191556A/en
Application granted granted Critical
Publication of JP5742320B2 publication Critical patent/JP5742320B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Storing Facsimile Image Data (AREA)
  • Image Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce memory capacity required when simultaneously reading the front and rear sides of a document in copying.SOLUTION: A scanner image processing unit 203 executes image processing on each block (image data having a fixed size) obtained by alternately reading the front and rear sides for each block from a memory 704. Data of the last several lines in the previous block is left on the memory 704 without discarding it, and it is transferred to the scanner image processing unit 203 in processing the next block.

Description

本発明は、メモリ容量を削減した画像形成装置、画像形成方法、プログラムおよび記録媒体に関する。   The present invention relates to an image forming apparatus, an image forming method, a program, and a recording medium with a reduced memory capacity.

コピー機などのスキャン動作において、原稿の両面を読み取る際に、表面を読み取り、反転させた後、裏面を読み取るという方法では、機器の構造が複雑になり、また反転に要する時間がかかり、スループットが下がる。そこで、イメージセンサを2系統備えることで、1回の原稿の通紙で表面と裏面の両面を読み取り、小型化や高速化を行う技術がある。また、両面を同時に読み取る時のメモリ容量を抑えるために、スキャナから読み取った両面画像のうち、片面を画像処理ブロックに渡し、片面を圧縮して保存する技術もある(特許文献1を参照)。   When scanning both sides of a document in a scanning operation of a copier, etc., the method of reading the front side, turning it over, and then reading the back side makes the structure of the device complex and requires time for the turnover and increases the throughput. Go down. Therefore, there is a technique for reducing the size and increasing the speed by providing two systems of image sensors and reading both the front and back surfaces with a single document passing. In order to reduce the memory capacity when reading both sides at the same time, there is also a technique of transferring one side of the double-sided image read from the scanner to the image processing block and compressing and saving the one side (see Patent Document 1).

しかし、上記した両面を同時に読み取る方法は、高機能・高性能なコピー機に搭載することを前提にしているため、少なくとも片面分の画像をメモリやハードディスクなどに一時保存する必要があり、画像の一次保存に要するコストが増加するという問題があった。   However, since the method for reading both sides at the same time is based on the premise that it is installed in a high-function, high-performance copier, it is necessary to temporarily store at least one side of the image in a memory or hard disk. There was a problem that the cost required for primary storage increased.

本発明は、上記した課題に鑑みてなされたもので、
本発明の目的は、コピー時に原稿の表面と裏面を同時に読み取るときに要するメモリ容量を削減した画像形成装置、画像形成方法、プログラムおよび記録媒体を提供することにある。
The present invention has been made in view of the above-described problems.
An object of the present invention is to provide an image forming apparatus, an image forming method, a program, and a recording medium that reduce the memory capacity required for simultaneously reading the front and back sides of a document during copying.

本発明は、原稿の表面と裏面を同時に読み取る手段と、前記読み取った画像データを所定サイズの画像データ(以下、ブロック)毎に、表面のブロックと裏面のブロックを格納する格納手段と、前記格納された前記表面のブロックと裏面のブロックが交互に読み出され、前記各ブロックに対して所定の処理を実行する画像処理手段と、前記画像処理手段が第1のブロックを処理するとき、前記第1のブロックの最後の所定サイズの画像データ(以下、境界データ)を前記格納手段に保持し、前記画像処理手段が第2のブロックの処理を実行する前に、前記境界データを前記格納手段から読み出す制御手段を備えたことを最も主要な特徴とする。   The present invention includes means for simultaneously reading the front and back sides of a document, storage means for storing the read image data for each image data (hereinafter referred to as a block) of a predetermined size, and a block for storing the front block and the back block. The front surface block and the back surface block that have been read are alternately read out, and image processing means for executing predetermined processing on each block, and when the image processing means processes the first block, The last predetermined size of image data of one block (hereinafter referred to as boundary data) is held in the storage means, and before the image processing means executes the processing of the second block, the boundary data is read from the storage means. The most important feature is that a reading control means is provided.

本発明によれば、一定サイズの画像データ毎に表面と裏面を交互に画像処理しているので、1系統の画像処理部により両面の画像処理を実現できる。また、フィルタ処理、変倍処理、中間調処理(誤差拡散処理)など、複数ラインの画像データを用いて処理する場合には、境界の処理に必要な最低限の画像データのみを保持しているので、1面全体の画像を保持する必要がなく、メモリ容量を削減することができる。   According to the present invention, since image processing is alternately performed on the front surface and the back surface for each fixed-size image data, double-sided image processing can be realized by one image processing unit. In addition, when processing using multiple lines of image data, such as filter processing, scaling processing, halftone processing (error diffusion processing), etc., only the minimum image data necessary for boundary processing is retained. Therefore, it is not necessary to hold an image on the entire surface, and the memory capacity can be reduced.

本発明の画像形成装置全体の構成を示す。1 shows a configuration of an entire image forming apparatus of the present invention. スキャナユニットを示す。Indicates a scanner unit. コントローラボード内部の構成を示す。The configuration inside the controller board is shown. 誤差拡散処理の構成を示す。The structure of error diffusion processing is shown. 本発明のスキャナ画像入力部、スキャナ画像処理部、プリンタ画像処理部の構成を示す。1 illustrates a configuration of a scanner image input unit, a scanner image processing unit, and a printer image processing unit of the present invention. 本発明の誤差拡散処理部の構成を示す。The structure of the error diffusion process part of this invention is shown. 本発明の処理フローチャートを示す。The processing flowchart of this invention is shown. 入力画像蓄積用メモリの削減処理のタイミングチャートを示す。6 shows a timing chart of a reduction process of an input image storage memory.

以下、発明の実施の形態について図面により詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の画像形成装置全体の構成を示す。画像形成装置は、スキャナユニット102、コントローラボード103、プロッタユニット104、操作部105から構成され、PCなどのホスト101に接続されている。   FIG. 1 shows the overall configuration of the image forming apparatus of the present invention. The image forming apparatus includes a scanner unit 102, a controller board 103, a plotter unit 104, and an operation unit 105, and is connected to a host 101 such as a PC.

スキャナユニット102は、原稿を読み込んで、電気信号に変換し、コントローラボード103へ送信する。ここでは、自動原稿送り装置(ADF)を備え、複数枚の原稿を自動で読み取る機能がある場合を例とする。また、ここではCCD方式、CIS(コンタクト・イメージ・センサ)方式の何れでも対応可能である。   The scanner unit 102 reads a document, converts it into an electrical signal, and transmits it to the controller board 103. Here, an example in which an automatic document feeder (ADF) is provided and a function of automatically reading a plurality of documents is provided. In this case, either a CCD system or a CIS (contact image sensor) system can be used.

プロッタユニット104は、スキャナ102で読み取った画像やホスト101等から入力した画像データをCMYK(+α)データに変換したものを用紙に印刷するユニットであり、ここではインクジェット方式、電子写真方式の何れでも対応可能である。   The plotter unit 104 is a unit that prints an image read by the scanner 102 or image data input from the host 101 or the like into CMYK (+ α) data, and prints it on paper. Here, either the inkjet method or the electrophotographic method is used. It is possible.

操作部105は、コピーやスキャナ、FAX送信などのジョブを実行し、スキャナで読み込んだ画像を表示し、また、各種設定やエラー表示にも用いる。   The operation unit 105 executes jobs such as copying, scanning, and FAX transmission, displays an image read by the scanner, and also uses it for various settings and error display.

コントローラボード103は、コピー処理、プリント処理などの制御を行うユニットであり、コピー処理ではスキャナユニット102より入力されたRGB多値画像をプロッタユニット104で印刷可能なフォーマットに変換する。その際に、ページ順序を入れ替え、画像を蓄積し、画像を編集するなど付加的な機能を実行する。   The controller board 103 is a unit that performs control such as copy processing and print processing. In the copy processing, the RGB multi-valued image input from the scanner unit 102 is converted into a format printable by the plotter unit 104. At that time, additional functions such as changing the page order, accumulating images, and editing the images are executed.

図2は、スキャナユニットを示す(ここでは例えば、特開2006−13822号公報に記載のスキャナユニットを用いる)。原稿送り装置10にセットされた原稿を、1枚ずつ搬送路12〜搬送路13を経由して、排出トレイ14に送りつつ、CIS15とCCDイメージセンサ23により両面の画像を同時に読み取る。本実施例では、原稿の表面をCCD23で読み取り、裏面をCIS15で読み取る構成を採っているが、両面ともCCD23または両面ともCIS15の構成でもよい。   FIG. 2 shows a scanner unit (for example, the scanner unit described in JP-A-2006-13822 is used here). The originals set on the document feeder 10 are fed one by one through the transport path 12 to the transport path 13 to the discharge tray 14 and the images on both sides are simultaneously read by the CIS 15 and the CCD image sensor 23. In this embodiment, the front side of the document is read by the CCD 23 and the back side is read by the CIS 15. However, the CCD 23 or both sides of the CIS 15 may be used.

両面いずれの画像信号も、処理装置24(図1のコントローラボード内)に送信され、コピー用/スキャナ用/FAX用など、各処理に合わせた画像処理が施される。なお、図2において、11は原稿トレイ、20はスキャナ装置、21はプラテンガラス、22は照明ランプである。   Both-side image signals are transmitted to the processing device 24 (within the controller board in FIG. 1), and image processing corresponding to each processing such as copying / scanning / FAX is performed. In FIG. 2, 11 is a document tray, 20 is a scanner device, 21 is a platen glass, and 22 is an illumination lamp.

図3(a)は、コントローラボード内部の構成を示す。スキャナエンジン制御部201は、紙送り装置のセンサの監視・モータの制御や、イメージセンサの制御などを行う。スキャナ画像入力部202は、スキャナユニット102より入力されたRGB多値データを取り込む。アナログデータで受信した場合は、デジタルに変換し、また、素子間のばらつき補正や、素子の物理的な位置の違いに対する補正を実施する。   FIG. 3A shows the internal configuration of the controller board. A scanner engine control unit 201 performs sensor monitoring, motor control, image sensor control, and the like of the paper feeding device. The scanner image input unit 202 takes in RGB multi-value data input from the scanner unit 102. When it is received as analog data, it is converted to digital, and variation correction between elements and correction for differences in physical positions of elements are performed.

スキャナ画像処理部203は、スキャナ特性を打ち消すような処理を施し、標準RGBの多値(8ビットなど)データに変換する。プリンタ画像処理部205は、印刷言語(PDL)を標準RGBの多値(8ビットなど)データに変換する。プリンタ画像処理部206は、標準RGBの多値データをプリンタから出力可能なデータ形式(CMYK2ビットデータなど)に変換する。   The scanner image processing unit 203 performs processing for canceling the scanner characteristics and converts the data into standard RGB multi-value (e.g., 8-bit) data. The printer image processing unit 205 converts the print language (PDL) into standard RGB multi-value (e.g., 8-bit) data. The printer image processing unit 206 converts the standard RGB multi-value data into a data format (CMYK 2-bit data or the like) that can be output from the printer.

プリンタ画像出力部208は、プロッタユニット104の仕様に合わせた順序・タイミングで画像データをプロッタユニット104に送信する手段である。プリンタエンジン制御部207は、プロッタユニット104のセンサの監視・モータの制御などを行う。   The printer image output unit 208 is means for transmitting image data to the plotter unit 104 in the order and timing according to the specifications of the plotter unit 104. The printer engine control unit 207 performs monitoring of the sensor of the plotter unit 104, control of the motor, and the like.

ホストI/F204は、PC101などから印刷ジョブのデータを受信し、メモリへ格納し、CPU210は、ジョブを管理し、全ての構成要素の動作を制御し、操作部I/F209は、ユーザーからの要求を受け付け、また機器の状態等をユーザーに通知するための表示を行う。   The host I / F 204 receives print job data from the PC 101 or the like and stores the print job data in the memory. The CPU 210 manages the job and controls the operation of all the components. Accepts the request and displays to notify the user of the status of the device.

図3(b)は、スキャナ画像入力部の構成を示す。シェーディング補正部301は、受光素子ごとの特性のばらつきを補正する。受光素子のそれぞれに対して補正の係数を保持しておき、各画素の入力データに対して補正係数を掛け合わせることで処理を実現する。ライン間ギャップ調整部302は、色毎に受光素子の物理的位置が異なるため、同一画素であってもデータを入力するタイミングが色ごとに異なる。そのタイミングのずれを補正して、以降の画像処理において同一画素のデータを同一のタイミングで参照できるようにする。画像データを一旦バッファして、遅延させることで実現する。   FIG. 3B shows the configuration of the scanner image input unit. The shading correction unit 301 corrects variation in characteristics for each light receiving element. Processing is realized by holding a correction coefficient for each of the light receiving elements and multiplying the input data of each pixel by the correction coefficient. Since the inter-line gap adjustment unit 302 has a different physical position of the light receiving element for each color, the timing for inputting data differs for each color even for the same pixel. The timing shift is corrected so that the data of the same pixel can be referred to at the same timing in the subsequent image processing. This is realized by temporarily buffering the image data and delaying it.

図3(c)は、スキャナ画像処理部の構成を示す。スキャナγ部401は、一般に受光素子は光量に対して出力値がリニアな特性とならないため、その歪みを補正する。テーブルを参照して、各入力値に対する出力値を一意に決定する。   FIG. 3C shows the configuration of the scanner image processing unit. In general, the scanner γ unit 401 corrects the distortion of the light receiving element because the output value does not have a linear characteristic with respect to the amount of light. With reference to the table, the output value for each input value is uniquely determined.

デジタルフィルタ402は、受光素子の特性により画像がぼやけることを補正する。また、文字モードではシャープにするなど、ユーザー設定に合わせて画像の特性を変える。周辺の画素を参照(5×5画素分、7×7画素分など)して、変化量を強調するような補正をかけ、エッジを強調したり、逆に変化量を緩やかにする補正をかけ、エッジをぼかしたりする。   The digital filter 402 corrects blurring of the image due to the characteristics of the light receiving element. Also, change the image characteristics according to user settings, such as sharpening in character mode. Refer to surrounding pixels (5x5 pixels, 7x7 pixels, etc.) and apply corrections that emphasize the amount of change, emphasize edges, and conversely make corrections that moderate the amount of change. Or blur the edges.

下地除去部403は、新聞紙等、文字や絵がない部分であっても色が付いているような原稿を読み込んだ場合、下地を除去して白くすることで視認しやすくする。主副変倍部404は、ユーザー指定の倍率で画像を変倍したり、解像度を切り替えたりする。単純に同一画素を繰り返して実現する単純拡大、一定の割合で画素を間引く単純縮小や、周辺画素を参照しながら、滑らかに画像が描画されるようにする変倍がある。   The background removal unit 403 removes the background to make it easier to visually recognize when a document having a color is read even if it is a portion having no characters or pictures, such as newspaper. The main / sub scaling unit 404 changes the image at a magnification specified by the user and switches the resolution. There are simple enlargement in which the same pixels are simply repeated, simple reduction in which pixels are thinned out at a fixed rate, and scaling that allows an image to be drawn smoothly while referring to surrounding pixels.

図3(d)は、プリンタ画像処理部2の構成を示す。色変換部501は、RGB多値画像をCMYKの多値画像に変換する。以下のような変換手段がある。
・単純に減算(C=255−R、…)で求めた上で、Kを生成する。
・RGBデータに重みをつけて計算(C=R×重み係数+G×重み係数+B×重み係数+定数、…)。
・3次元のテーブルを参照する(C=テーブル[R][G][B])。
FIG. 3D shows the configuration of the printer image processing unit 2. The color conversion unit 501 converts an RGB multivalued image into a CMYK multivalued image. There are the following conversion means.
-After calculating | requiring simply by subtraction (C = 255-R, ...), K is produced | generated.
Calculation by weighting RGB data (C = R × weighting coefficient + G × weighting coefficient + B × weighting coefficient + constant,...)
Reference a three-dimensional table (C = table [R] [G] [B]).

プリンタγ部502は、プロッタ104から出力する濃度は、入力データに対してリニアな特性とならないため、その歪みを補正する。テーブルを参照して、各入力値に対する出力値を一意に決定する。   The printer γ unit 502 corrects the distortion because the density output from the plotter 104 does not have linear characteristics with respect to the input data. With reference to the table, the output value for each input value is uniquely determined.

中間調処理部503は、CMYK多値データを、プロッタ104から出力可能な少値(2値、4値など)に変換する。ディザ処理や誤差拡散処理などの処理を施して、原稿データの階調性が失われないように少値化する。   The halftone processing unit 503 converts the CMYK multi-value data into small values (binary, quaternary, etc.) that can be output from the plotter 104. Dither processing and error diffusion processing are performed to reduce the value so that the gradation of the original data is not lost.

図4は、中間調処理の一種である誤差拡散処理の構成を示す。入力データに対して、周辺の画素で発生した誤差を加算器601で加算した後、量子化部602で量子化処理を行う。量子化部602においては、出力階調数−1だけの数の閾値を持ち、閾値と加算後のデータとの大小比較により出力データを決定する。   FIG. 4 shows a configuration of error diffusion processing which is a kind of halftone processing. An error generated in surrounding pixels is added to input data by an adder 601, and a quantization process is performed by a quantization unit 602. The quantization unit 602 has a threshold value equal to the number of output gradations minus 1, and determines output data by comparing the threshold value with the added data.

逆量子化部603では、量子化後のデータを、再度、量子化前(10bit)に戻す変換を行う。量子化前の値と、逆量子化後の値がそのドットで発生した誤差604として検出され、この誤差分をまだ処理していない周辺の画素に拡散する。格納された誤差情報を周辺の複数の画素に対して分散して拡散させる場合、画素ごとに重みを付けるために、重み付け部605が必要となる。周辺画素へ拡散させるために、発生誤差をラインバッファ606に格納する。   The inverse quantization unit 603 performs conversion for returning the quantized data again to the state before quantization (10 bits). The value before quantization and the value after inverse quantization are detected as an error 604 generated in the dot, and this error is diffused to surrounding pixels that have not yet been processed. When the stored error information is distributed and diffused to a plurality of surrounding pixels, a weighting unit 605 is required to weight each pixel. The generated error is stored in the line buffer 606 for diffusion to peripheral pixels.

ここで、誤差を次のラインの画素に拡散させるためには、1ライン分のラインバッファを備える必要があり、バッファの入出力ビット数が大きくなると、それに伴いラインバッファの容量が大きくなる。このように、誤差拡散処理を実行する際には、前ラインで発生した誤差を次のラインに伝播させるために保持しておく必要がある。   Here, in order to diffuse the error to the pixels of the next line, it is necessary to provide a line buffer for one line. As the number of input / output bits of the buffer increases, the capacity of the line buffer increases accordingly. As described above, when the error diffusion processing is executed, it is necessary to hold the error generated in the previous line in order to propagate to the next line.

図5(a)は、本発明のスキャナ画像入力部の構成を示す。本発明では、表面、裏面の2系統のスキャナ入力画像を一旦メモリに格納する。図5(a)では、シェーディング補正を実施する2系統(表面、裏面)のシェーディング補正部701、702を備え、シェーディング補正後のデータをメモリ704に蓄え、その後の処理を1系統の画像処理部(スキャナ画像処理部、プリンタ画像処理部2)により処理する。   FIG. 5A shows the configuration of the scanner image input unit of the present invention. In the present invention, the two scanner input images on the front and back sides are temporarily stored in the memory. 5A includes two systems (front and back) of shading correction units 701 and 702 that perform shading correction, store the data after shading correction in the memory 704, and perform subsequent processing on one system of image processing unit. Processing is performed by the (scanner image processing unit, printer image processing unit 2).

シェーディング補正を2系統(表面、裏面)備えている理由としては、以下の2点が挙げられる。すなわち、
(1)本実施例では、シェーディング補正前のデータ形式が10ビット、シェーディング補正後が8ビットであるため、シェーディング補正後の方がメモリ容量、メモリ帯域が小さく抑えられること、
(2)シェーディング補正は、ピクセル毎に補正係数が必要であり、1系統で処理するためには、切り替えの度に多大な補正用パラメータの切り替えが発生し、CPU負荷の増大や処理速度の低下が予想されるためである。
ただし、メモリに格納するデータは、シェーディング補正前や、より後段の処理後でもよい。また、本実施例では、図3(b)の従来の構成に比べて、ライン間ギャップ調整部302が省略されているが、これは、データを一旦メモリに格納するため、メモリコントローラ703が、メモリ704へのデータ書き込み開始アドレスと、データ読み出し開始アドレスを異なる値にするによりギャップ調整しているためである。
The following two points can be cited as reasons for providing two types of shading correction (front surface and back surface). That is,
(1) In this embodiment, since the data format before shading correction is 10 bits and after shading correction is 8 bits, the memory capacity and memory bandwidth can be reduced after shading correction.
(2) The shading correction requires a correction coefficient for each pixel, and in order to perform processing with one system, a large amount of correction parameters are switched each time switching is performed, resulting in an increase in CPU load and a decrease in processing speed. This is because it is expected.
However, the data stored in the memory may be before shading correction or after subsequent processing. Further, in this embodiment, the inter-line gap adjusting unit 302 is omitted as compared with the conventional configuration of FIG. 3B. This is because the memory controller 703 stores the data once in the memory. This is because the gap is adjusted by setting the data write start address to the memory 704 and the data read start address to different values.

図5(b)は、本発明のスキャナ画像処理部の構成を示す。メモリ704から画像データを読み出す点を除いて、スキャナ画像処理部203は図3(c)と同様である。   FIG. 5B shows the configuration of the scanner image processing unit of the present invention. Except for reading image data from the memory 704, the scanner image processing unit 203 is the same as that shown in FIG.

メモリ704に蓄えられたシェーディング補正後のスキャナ画像は、一定のサイズの画像データ(例えば、128ライン:ブロック)毎に、メモリ704から読み出され、スキャナ画像処理部203により表面と裏面の画像が交互に処理される。処理を終えて不要となった画像は破棄し、新しい入力データを上書きすることで、必要なメモリ容量を抑えることができる。このとき、1ドット分の出力を得るのに複数ライン分の入力データを必要とする処理(デジタルフィルタ処理402、副走査変倍404など)を処理するためには、前ブロックの最後の数ライン分のメモリデータを破棄せずにメモリ704に残しておき、ブロック境界の処理時にそれを参照することで、従来技術と同等の処理を実現でき、画質の劣化を生じさせない。   The scanner image after shading correction stored in the memory 704 is read out from the memory 704 for each fixed-size image data (for example, 128 lines: block), and the scanner image processing unit 203 converts the front and back images. Processed alternately. The necessary memory capacity can be reduced by discarding images that are no longer needed after processing and overwriting with new input data. At this time, in order to process a process (digital filter process 402, sub-scan scaling 404, etc.) that requires input data for a plurality of lines to obtain an output for one dot, the last few lines of the previous block The remaining memory data is left in the memory 704 without being discarded, and by referring to it at the time of processing the block boundary, processing equivalent to the prior art can be realized and image quality is not deteriorated.

図5(c)は、プリンタ画像処理部206の構成を示す。プリンタ画像処理部206の構成は、従来の図3(d)と同様であるが、中間調処理を終えた画像をメモリ704に格納する際に、メモリコントローラ703は、メモリライト開始アドレスを制御して、表面同士・裏面同士の画像が一連の画像となるようにメモリ704に格納する。   FIG. 5C shows the configuration of the printer image processing unit 206. The configuration of the printer image processing unit 206 is the same as that of the conventional FIG. 3D, but when storing the image after halftone processing in the memory 704, the memory controller 703 controls the memory write start address. Then, the images are stored in the memory 704 so that the images of the front and back surfaces become a series of images.

図6は、本発明の誤差拡散処理部の構成を示す。誤差拡散処理においては、前述の通り、1ライン前に発生した誤差を現在の画素に加算する処理を行う。本発明では、用紙の表面と裏面の2系統の画像を交互に処理するため、誤差用のラインバッファも2系統に対応する必要がある。本実施例では、ラインバッファ801、802として2系統備え、系統ごとに1ライン前の誤差データを格納し、誤差を正しく伝播させることが可能となる。なお、803、804は選択部である。   FIG. 6 shows the configuration of the error diffusion processing unit of the present invention. In the error diffusion process, as described above, a process of adding an error generated one line before to the current pixel is performed. In the present invention, since two systems of images on the front and back sides of the paper are processed alternately, the error line buffer must also support two systems. In this embodiment, two systems are provided as the line buffers 801 and 802, and the error data of one line before is stored for each system, so that the error can be propagated correctly. Reference numerals 803 and 804 denote selection units.

図7は、本発明の処理フローチャートを示す。図7の処理は、図1のコントローラボード103内のCPU210によって実行される。図7の処理フローチャートにおいては、128ラインの入力データを1ブロックとして表面と裏面を交互に処理するものとする。また、デジタルフィルタと副走査変倍を処理するために、ブロックの境界において、7ライン分を重複させて処理する必要があるものとする。   FIG. 7 shows a processing flowchart of the present invention. The processing in FIG. 7 is executed by the CPU 210 in the controller board 103 in FIG. In the processing flowchart of FIG. 7, it is assumed that 128 lines of input data are processed as one block and the front surface and the back surface are processed alternately. Further, in order to process the digital filter and the sub-scanning scaling, it is necessary to process by overlapping seven lines at the block boundary.

すなわち、表面の第1ブロックのデータ(128ライン)がメモリから画像処理部(例えば、スキャナ画像処理部203)に転送され処理されるとき、表面の第1ブロックの最後の7ライン分をメモリに格納しておき、表面の第2ブロック(128ライン)を処理する前に、表面の第1ブロックの最後の7ライン分を画像処理部(スキャナ画像処理部203)に転送し、表面の第2ブロックの画像データを処理するとき、第1、第2ブロックの境界である、表面の第1ブロックの最後の7ラインを参照して、例えばフィルタ処理などの画像処理が実施される。   That is, when the data (128 lines) of the first block on the front side is transferred from the memory to the image processing unit (for example, the scanner image processing unit 203) and processed, the last seven lines of the first block on the front side are stored in the memory. Before storing the second block (128 lines) on the front surface, the last seven lines of the first block on the front surface are transferred to the image processing unit (scanner image processing unit 203), and the second block on the front surface is processed. When processing the image data of the block, image processing such as filtering is performed with reference to the last seven lines of the first block on the surface, which is the boundary between the first and second blocks.

スキャン動作が開始すると、最初のブロックが表ブロックであるとき(ステップ901でYes)、表面の128ライン分のデータがメモリ704(表面のメモリ)に蓄積するまで待機する(ステップ904)。128ライン分の入力データが蓄積できると、128ライン分のデータ処理を行う(ステップ905)。例えば、メモリ704(表面のメモリ)からの128ライン分の表面データに対して、スキャナ画像処理部203がデータ処理を行う。128ライン分の入力データの処理が完了すると、最初のブロックの最後の7ライン分のデータ以外は不要となるため、121ライン分の表面のメモリを開放し、次のブロックのデータの格納を可能とする(ステップ906)。同様に、裏面の1ブロック目の処理を行う(ステップ907)。   When the scanning operation starts, when the first block is a front block (Yes in step 901), the process waits until data for 128 lines on the front surface is accumulated in the memory 704 (front surface memory) (step 904). If input data for 128 lines can be accumulated, data processing for 128 lines is performed (step 905). For example, the scanner image processing unit 203 performs data processing on 128 lines of surface data from the memory 704 (surface memory). When processing of input data for 128 lines is completed, data other than the last 7 lines of the first block are no longer necessary, so the memory on the surface for 121 lines can be released and the data for the next block can be stored. (Step 906). Similarly, the first block on the back surface is processed (step 907).

2ブロック目以降は(ステップ901でNo)、ライン境界でデータが不連続とならないように、前ブロックの最終7ライン分のデータを表面のメモリから読み出し(ステップ902)、入力を終えた前ブロックの最終7ライン分の表面のメモリ領域を開放させる(ステップ903)。その後、128ライン分の画像データが蓄積されるのを待ち(ステップ904)、第1ブロックと同様の処理を行う。この第2ブロックの処理では、ステップ902で読み出された、前ブロックの最終7ライン分のデータを参照して処理する(ステップ905、906)。裏面も同様に処理し(ステップ907〜912)、最終ブロックが完了したら処理を終了する(ステップ913)。   For the second and subsequent blocks (No in step 901), the data for the last seven lines of the previous block is read from the surface memory so that the data does not become discontinuous at the line boundary (step 902), and the previous block whose input has been completed The memory area on the surface for the last 7 lines is released (step 903). Thereafter, waiting for image data for 128 lines to be accumulated (step 904), the same processing as in the first block is performed. In the processing of the second block, processing is performed with reference to the data for the last seven lines of the previous block read in step 902 (steps 905 and 906). The back side is processed in the same manner (steps 907 to 912), and when the final block is completed, the process ends (step 913).

表面と裏面で、画像処理のパラメータ(フィルタタイプ/色変換テーブル/中間調処理パターンなど)が異なる場合は、表面と裏面の切り替えの段階でパラメータ(例えば、フィルタ係数)を書き換える処理が必要となる。そこで、表面、裏面毎に異なるパラメータを設定しておき、表面、裏面用のパラメータを自動で切り替えるように、パラメータ切り替えをハードウェア化することで高速化を実現する。これにより、切り替え時のパラメータ設定に要するタイムラグを小さく抑えられる。   When image processing parameters (filter type / color conversion table / halftone processing pattern, etc.) are different between the front and back surfaces, it is necessary to rewrite the parameters (for example, filter coefficients) at the stage of switching between the front and back surfaces. . Therefore, different parameters are set for the front and back surfaces, and the parameter switching is implemented by hardware so that the front and back parameters are automatically switched. Thereby, the time lag required for parameter setting at the time of switching can be kept small.

図8は、入力画像蓄積用のメモリをさらに削減する処理のタイミングチャートである。   FIG. 8 is a timing chart of processing for further reducing the memory for storing input images.

図2において、表面読み込み用のセンサ23と裏面読み込み用のセンサ15を物理的に64ライン分(もしくは、64+128×N(Nは整数))だけずれた位置に設置するものとする。また、データ入力の速度に対して、画像処理速度は2倍であるとする。   In FIG. 2, it is assumed that the front surface reading sensor 23 and the rear surface reading sensor 15 are physically installed at positions shifted by 64 lines (or 64 + 128 × N (N is an integer)). Further, it is assumed that the image processing speed is twice the data input speed.

この場合、有効な画像が入力されるまで、64ライン分の遅延が発生するため、表面の128ライン分の処理が完了すると同時に、裏面処理が開始可能となるタイミングとなり、表面・裏面ともに256ライン分のメモリで動作が可能となる(ライン境界での重複使用データを考慮しない場合)。なお、表面と裏面のセンサの位置が同じ位置にある場合には、裏面用のメモリが256ライン分必要となるため、図8の処理では、64ライン分のメモリが削減でき、画像蓄積用のメモリが小さく抑えられる。このように、両面同時読み取り時の、画像蓄積用のメモリを削減することができる。   In this case, since a delay of 64 lines occurs until a valid image is input, the processing for 128 lines on the front surface is completed, and at the same time, the back surface processing can be started. It is possible to operate with the memory of minutes (when not considering the redundant use data at the line boundary). Note that when the front and back sensors are at the same position, 256 lines of memory are required for the back surface. Therefore, the processing of FIG. Memory can be kept small. In this way, it is possible to reduce the memory for storing images during simultaneous reading on both sides.

本発明は、前述した実施例の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(CPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても達成される。この場合、記憶媒体から読出されたプログラムコード自体が前述した実施例の機能を実現することになる。プログラムコードを供給するための記憶媒体としては、例えば、ハードディスク、光ディスク、光磁気ディスク、不揮発性のメモリカード、ROMなどを用いることができる。また、コンピュータが読出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれる。さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれる。また、本発明の実施例の機能等を実現するためのプログラムは、ネットワークを介した通信によってサーバから提供されるものでも良い。   According to the present invention, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and the computer (CPU or MPU) of the system or apparatus is stored in the storage medium. It is also achieved by reading and executing the program code. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment. As a storage medium for supplying the program code, for example, a hard disk, an optical disk, a magneto-optical disk, a nonvolatile memory card, a ROM, or the like can be used. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included. Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. A case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing is included. Further, the program for realizing the functions and the like of the embodiments of the present invention may be provided from a server by communication via a network.

101 ホスト
102 スキャナユニット
103 コントローラボード
104 プロッタユニット
105 操作部
201 スキャナエンジン制御部
202 スキャナ画像入力部
203 スキャナ画像処理部
204 ホストI/F
205、206 プリンタ画像処理部
207 プリンタエンジン制御部
208 プリンタ画像出力部
209 操作部I/F
210 CPU
101 Host 102 Scanner Unit 103 Controller Board 104 Plotter Unit 105 Operation Unit 201 Scanner Engine Control Unit 202 Scanner Image Input Unit 203 Scanner Image Processing Unit 204 Host I / F
205, 206 Printer image processing unit 207 Printer engine control unit 208 Printer image output unit 209 Operation unit I / F
210 CPU

特開2003−259052号公報JP 2003-259052 A

Claims (8)

原稿の表面と裏面を同時に読み取る手段と、前記読み取った画像データを所定サイズの画像データ(以下、ブロック)毎に、表面のブロックと裏面のブロックを格納する格納手段と、前記格納された前記表面のブロックと裏面のブロックが交互に読み出され、前記各ブロックに対して所定の処理を実行する画像処理手段と、前記画像処理手段が第1のブロックを処理するとき、前記第1のブロックの最後の所定サイズの画像データ(以下、境界データ)を前記格納手段に保持し、前記画像処理手段が第2のブロックの処理を実行する前に、前記境界データを前記格納手段から読み出す制御手段を備えたことを特徴とする画像形成装置。   Means for simultaneously reading the front surface and the back surface of the document; storage means for storing the read image data for each predetermined size of image data (hereinafter referred to as a block); And the block on the back side are alternately read out, and image processing means for executing predetermined processing on each block, and when the image processing means processes the first block, Control means for holding the last predetermined size image data (hereinafter referred to as boundary data) in the storage means, and reading the boundary data from the storage means before the image processing means executes the processing of the second block. An image forming apparatus comprising the image forming apparatus. 前記画像処理手段は、前記読み取った画像データを標準のRGB画像データへ変換する第1の画像処理手段と、前記標準のRGB画像データを画像形成手段の出力データへ変換する第2の画像処理手段を含むことを特徴とする請求項1記載の画像形成装置。   The image processing means includes a first image processing means for converting the read image data into standard RGB image data, and a second image processing means for converting the standard RGB image data into output data of the image forming means. The image forming apparatus according to claim 1, further comprising: 前記第2の画像処理手段は、誤差拡散処理により中間調処理を実行し、表面用と裏面用の誤差メモリを備えていることを特徴とする請求項2記載の画像形成装置。   3. The image forming apparatus according to claim 2, wherein the second image processing means executes halftone processing by error diffusion processing and includes error memories for the front surface and the back surface. 前記第1、第2の画像処理手段は、表面、裏面毎に設定された所定のパラメータを前記各面の処理に応じて切り替えることを特徴とする請求項2記載の画像形成装置。   The image forming apparatus according to claim 2, wherein the first and second image processing units switch predetermined parameters set for each of the front surface and the back surface according to the processing of each surface. 前記読み取る手段は、表面用のセンサと裏面用のセンサが異なる位置に配置されていることを特徴とする請求項1記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the reading unit includes a front surface sensor and a back surface sensor arranged at different positions. 原稿の表面と裏面を同時に読み取る工程と、前記読み取った画像データを所定サイズの画像データ(以下、ブロック)毎に、表面のブロックと裏面のブロックを格納する格納工程と、前記格納された前記表面のブロックと裏面のブロックが交互に読み出され、前記各ブロックに対して所定の処理を実行する画像処理工程と、前記画像処理工程が第1のブロックを処理するとき、前記第1のブロックの最後の所定サイズの画像データ(以下、境界データ)を前記格納工程に保持し、前記画像処理工程が第2のブロックの処理を実行する前に、前記境界データを前記格納工程から読み出す制御工程を備えたことを特徴とする画像形成方法。   A step of simultaneously reading the front surface and the back surface of the document; a storing step of storing the read image data for each image data (hereinafter referred to as a block) of a predetermined size; and the stored front surface Block and back block are alternately read out, and an image processing step for executing a predetermined process on each block, and when the image processing step processes the first block, A control step of holding image data of the last predetermined size (hereinafter referred to as boundary data) in the storage step, and reading out the boundary data from the storage step before the image processing step executes processing of the second block An image forming method comprising: 請求項6記載の画像形成方法をコンピュータに実現させるためのプログラム。   A program for causing a computer to realize the image forming method according to claim 6. 請求項6記載の画像形成方法をコンピュータに実現させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which a program for causing a computer to realize the image forming method according to claim 6 is recorded.
JP2011055257A 2011-03-14 2011-03-14 Image forming apparatus, image forming method, program, and recording medium Expired - Fee Related JP5742320B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011055257A JP5742320B2 (en) 2011-03-14 2011-03-14 Image forming apparatus, image forming method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011055257A JP5742320B2 (en) 2011-03-14 2011-03-14 Image forming apparatus, image forming method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2012191556A true JP2012191556A (en) 2012-10-04
JP5742320B2 JP5742320B2 (en) 2015-07-01

Family

ID=47084212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011055257A Expired - Fee Related JP5742320B2 (en) 2011-03-14 2011-03-14 Image forming apparatus, image forming method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5742320B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09321947A (en) * 1996-05-29 1997-12-12 Ricoh Co Ltd Image reader
JP2008153779A (en) * 2006-12-14 2008-07-03 Sharp Corp Encoding device, encoding method, program, and recording method thereof
JP2009303093A (en) * 2008-06-17 2009-12-24 Nisca Corp Driver software for image reading system and image reading system using the driver software
JP2010178377A (en) * 2010-04-08 2010-08-12 Sharp Corp Image processing apparatus, image forming apparatus, method and program for image processing apparatus, and medium for recording image processing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09321947A (en) * 1996-05-29 1997-12-12 Ricoh Co Ltd Image reader
JP2008153779A (en) * 2006-12-14 2008-07-03 Sharp Corp Encoding device, encoding method, program, and recording method thereof
JP2009303093A (en) * 2008-06-17 2009-12-24 Nisca Corp Driver software for image reading system and image reading system using the driver software
JP2010178377A (en) * 2010-04-08 2010-08-12 Sharp Corp Image processing apparatus, image forming apparatus, method and program for image processing apparatus, and medium for recording image processing program

Also Published As

Publication number Publication date
JP5742320B2 (en) 2015-07-01

Similar Documents

Publication Publication Date Title
US9734439B2 (en) Image processing apparatus and method thereof
EP2372998B1 (en) Image processing apparatus, image processing method and computer program product
JP6338469B2 (en) Image processing apparatus and image processing method
JP4755569B2 (en) Image processing apparatus and image processing method
US20050213120A1 (en) Image data processing device, image data processing method, program, recording medium, and image reading device
JP4908382B2 (en) Image processing apparatus and image processing method
JP5560803B2 (en) Image processing device
JP5742320B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP2003189099A (en) Image processing apparatus
JP2006135631A (en) Image reading device
JP5333866B2 (en) Image reading apparatus, image forming apparatus, and image reading method
JP2006254472A (en) Image processor and image forming apparatus
JP2006011754A (en) Image processing device and image processing method
JP2005031759A (en) Image processor and image processing method to which spatial filter is applied
JP3869178B2 (en) Image processing apparatus and image forming apparatus
JP2008092323A (en) Image processing equipment, and image reading apparatus and image forming apparatus equipped with the same
JP3893891B2 (en) Image processing device
JP4071809B2 (en) Image processing device
JP3880793B2 (en) Image processing apparatus and image forming apparatus
JP2008236045A (en) Image processor, image forming apparatus, image processing method, image processing program and recording medium
JP2005027037A (en) Format conversion method and image processing apparatus
JP5321034B2 (en) Image processing apparatus, image processing method, and computer-executable program
US20110158531A1 (en) Image processing apparatus and control method thereof
JP4333951B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP5552782B2 (en) Image reading apparatus and image forming apparatus

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20130826

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130826

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150318

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150420

R151 Written notification of patent or utility model registration

Ref document number: 5742320

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees