JP4517961B2 - Image reading apparatus and image reading method - Google Patents

Image reading apparatus and image reading method Download PDF

Info

Publication number
JP4517961B2
JP4517961B2 JP2005199092A JP2005199092A JP4517961B2 JP 4517961 B2 JP4517961 B2 JP 4517961B2 JP 2005199092 A JP2005199092 A JP 2005199092A JP 2005199092 A JP2005199092 A JP 2005199092A JP 4517961 B2 JP4517961 B2 JP 4517961B2
Authority
JP
Japan
Prior art keywords
reading
image
correction
pixel value
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005199092A
Other languages
Japanese (ja)
Other versions
JP2007019853A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2005199092A priority Critical patent/JP4517961B2/en
Publication of JP2007019853A publication Critical patent/JP2007019853A/en
Application granted granted Critical
Publication of JP4517961B2 publication Critical patent/JP4517961B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Input (AREA)

Description

本発明は、画像読取装置及び画像読取方法に係り、特に、高速印刷する印刷装置が印刷した印刷物の品質検査を行う検査装置に、印刷物を読み取った画像を出力する画像読取装置及び画像読取方法に関する。   The present invention relates to an image reading apparatus and an image reading method, and more particularly, to an image reading apparatus and an image reading method for outputting an image obtained by reading a printed material to an inspection device that performs quality inspection of a printed material printed by a printing device that performs high-speed printing. .

従来、例えばCCD等の受光素子を1列に並べたラインセンサ等を用いて画像を読み取る画像読取装置として、ラインセンサの各受光素子の感度のばらつき等を補正する所謂シェーディング補正を行う装置がある(例えば特許文献1、2参照)。   2. Description of the Related Art Conventionally, as an image reading apparatus that reads an image using a line sensor or the like in which light receiving elements such as CCDs are arranged in a row, there is a device that performs so-called shading correction that corrects variations in sensitivity of each light receiving element of a line sensor. (For example, refer to Patent Documents 1 and 2).

このシェーディング補正は、ジョブの開始前等、ジョブの実行期間以外の期間において行っていた。   This shading correction is performed in a period other than the job execution period, such as before the start of the job.

ところで、例えば電話料金等の帳票印刷では、印刷内容の性格から正確に印刷されることが要求されるため、印刷物を画像読取装置により読み取り、これと元の印刷データとを照合することにより、正常に印刷されたか否かを検査することが行われる。また、このような印刷ジョブでは、短期間で大量に印刷処理することが要求されるため、プリンタや画像読取装置についても高速性が要求される。高速に画像を読み取ることができる画像読取装置としては、例えば複数のラインセンサを用いた装置がある(例えば特許文献3参照)。
特開2003−163796号公報 特開平5−236272号公報 特開2002−84397号公報
By the way, in the case of form printing such as telephone charges, since it is required to be printed accurately due to the nature of the printed contents, it is normal to read the printed matter with an image reading device and collate this with the original print data. It is inspected whether or not it has been printed. In addition, such a print job requires a large amount of print processing in a short period of time, so that high speed is also required for printers and image reading apparatuses. As an image reading apparatus capable of reading an image at high speed, for example, there is an apparatus using a plurality of line sensors (see, for example, Patent Document 3).
JP 2003-163796 A JP-A-5-236272 Japanese Patent Laid-Open No. 2002-84397

しかしながら、上記のような印刷ジョブは、一つ一つのジョブの実行時間が長くなるため、その間にラインセンサまでの光路のずれや、ラインセンサの各素子の温度変化等の環境変化によって、各素子間で濃度差が生じてしまう場合がある。   However, since the print job as described above takes a long time to execute each job, each element is affected by an environmental change such as a deviation of the optical path to the line sensor or a temperature change of each element of the line sensor. There may be a difference in density between the two.

この場合、ジョブを途中で一旦停止してシェーディング補正を実行しなければならず、処理効率が低下してしまう、という問題があった。   In this case, there is a problem that the job must be stopped halfway and the shading correction must be executed, resulting in a reduction in processing efficiency.

本発明は、上記事実に鑑みて成されたものであり、ラインセンサの各素子間の濃度差を抑制すると共に処理効率の低下を防ぐことができる画像読取装置及び画像読取方法を提供することを目的とする。   The present invention has been made in view of the above-described facts, and provides an image reading apparatus and an image reading method capable of suppressing a density difference between each element of a line sensor and preventing a reduction in processing efficiency. Objective.

上記課題を解決するため、請求項1記載の画像読取装置は、所定方向に沿って受光素子が配列されたラインセンサと、前記ラインセンサの読み取り領域のうち、少なくとも記録媒体に記録された画像を読み取る第1の読み取り領域以外の前記ラインセンサの両端の第2の読み取り領域に各々設けられた白基準板と、前記第2の読み取り領域に対応した第2の受光素子により読み取られた前記第2の読み取り領域の画素値に基づいて、前記第1の読み取り領域に対応した第1の受光素子により読み取られた前記第1の読み取り領域の画素値をライン毎にリアルタイムで補正する補正手段と、を備え、前記補正手段は、読み取った2つの第2の読み取り領域の画素値のうち大きい方の画素値及び予め定めた階調範囲の最大値から求めた第1の補正率に応じて、前記第1の読み取り領域の画素値を補正する第1の補正手段と、前記2つの第2の読み取り領域の画素値のうち小さい方の画素値を前記第1の補正率により補正した後の画素値及び前記最大値から求めた第2の補正率と、前記第1の読み取り領域の前記所定方向における位置と、に応じて、前記第1の読み取り領域の前記第1の補正手段による補正後の画素値を補正する第2の補正手段と、を含むことを特徴とする。 In order to solve the above-described problem, an image reading apparatus according to claim 1, wherein a line sensor in which light receiving elements are arranged along a predetermined direction and an image recorded on at least a recording medium in a reading area of the line sensor. first reading and the white reference plate provided respectively in the first and the second read area of both ends of the line sensors other than the region, wherein the second read by the second light receiving element corresponding to the second read area to be read based of the pixel values of the reading area, and a correcting means for correcting in real time the pixel value of the first read area for each line read by the first light receiving element corresponding to the first read area The correction means includes a first correction obtained from a larger pixel value of the read pixel values of the second reading area and a maximum value of a predetermined gradation range. And a first correction unit that corrects a pixel value in the first reading area, and a smaller pixel value of the pixel values in the two second reading areas is corrected by the first correction factor. The first correction means of the first reading area according to the second correction rate obtained from the pixel value after the determination and the maximum value and the position of the first reading area in the predetermined direction And a second correction unit that corrects the pixel value after correction according to (1 ).

この発明によれば、所定方向に沿って受光素子が配列されたラインセンサの読み取り領域のうち、少なくとも記録媒体に記録された画像を読み取る第1の読み取り領域以外の前記ラインセンサの両端の第2の読み取り領域に白基準板が各々設けられる。 According to the present invention, among the reading areas of the line sensor in which the light receiving elements are arranged along the predetermined direction, at least the second readings at both ends of the line sensor other than the first reading area for reading the image recorded on the recording medium. A white reference plate is provided in each reading area.

そして、補正手段は、第2の読み取り領域に対応した第2の受光素子により読み取られた第2の読み取り領域の画素値に基づいて、第1の読み取り領域に対応した第1の受光素子により読み取られた第1の読み取り領域の画素値をライン毎にリアルタイムで補正する。   Then, the correcting means reads the first light receiving element corresponding to the first reading area based on the pixel value of the second reading area read by the second light receiving element corresponding to the second reading area. The pixel value of the first reading area thus obtained is corrected in real time for each line.

このように、白基準板が第1の読み取り領域以外のラインセンサの両端の第2の読み取り領域に各々設けられているので、記録媒体に記録された画像、すなわち第1の読み取り領域を読み取りながら、白基準板、すなわちラインセンサの両端の第2の読み取り領域を読み取って、記録媒体に記録された画像の画素値を補正することができる。 Thus, since the white reference plate is respectively provided in the second read area of the ends of the first line sensor other than the reading region of the image recorded on the recording medium, i.e. while reading the first reading area The pixel values of the image recorded on the recording medium can be corrected by reading the second reference areas at both ends of the white reference plate, that is, the line sensor .

これにより、読み取り動作を一旦停止させることなく補正を行うことができるため、ラインセンサの各受光素子間の濃度差を抑制することができるだけでなく、処理効率の低下を効果的に防ぐことができる。   As a result, correction can be performed without temporarily stopping the reading operation, so that not only the density difference between the light receiving elements of the line sensor can be suppressed, but also a reduction in processing efficiency can be effectively prevented. .

また、前記補正手段は、読み取った2つの第2の読み取り領域の画素値のうち大きい方の画素値及び予め定めた階調範囲の最大値から求めた第1の補正率に応じて、前記第1の読み取り領域の画素値を補正する第1の補正手段と、前記2つの第2の読み取り領域の画素値のうち小さい方の画素値を前記第1の補正率により補正した後の画素値及び前記最大値から求めた第2の補正率と、前記第1の読み取り領域の前記所定方向における位置と、に応じて、前記第1の読み取り領域の前記第1の補正手段による補正後の画素値を補正する第2の補正手段と、を含む構成とする In addition, the correction unit may perform the first correction rate according to a first correction factor obtained from a larger pixel value of the read pixel values of the second reading region and a maximum value of a predetermined gradation range. A first correction unit that corrects a pixel value of one reading region, a pixel value after correcting a smaller pixel value of the pixel values of the two second reading regions by the first correction rate, and According to the second correction factor obtained from the maximum value and the position of the first reading area in the predetermined direction, the pixel value after correction by the first correction unit in the first reading area. And a second correction means for correcting the above .

このように補正手段を構成することにより、記録媒体に記録された画像の所定方向における濃度差を効果的に抑制することができる。   By configuring the correcting means in this way, it is possible to effectively suppress the density difference in the predetermined direction of the image recorded on the recording medium.

また、請求項に記載したように、前記ラインセンサを複数設けると共に、前記ラインセンサ毎に前記補正手段を備えた構成としてもよい。 According to a second aspect of the present invention, a plurality of the line sensors may be provided, and the correction unit may be provided for each line sensor.

このような構成の場合、高速に画像を読み取ることができるが、本発明は、読み取り動作を停止することなく補正を実行することができるので、このような装置に適用することで特に効果がある。   In such a configuration, an image can be read at high speed. However, the present invention can perform correction without stopping the reading operation, and thus is particularly effective when applied to such an apparatus. .

また、請求項に記載したように、複数のラインセンサにより各々読み取った前記第2の読み取り領域の画素値の差が所定閾値以上になった場合に、前記ラインセンサ毎に設けられた補正手段による補正を実行するようにしてもよい。 According to a third aspect of the present invention, when the difference between the pixel values in the second reading area read by each of the plurality of line sensors is equal to or greater than a predetermined threshold value, the correcting means provided for each line sensor. Correction may also be executed.

ここで、所定閾値は、前記画素値の差がこの値以上の場合に、画質に悪影響を及ぼす可能性がある値、すなわち各ラインセンサにより読み取った画像を合成した際に濃度差が目立ちやすくなる値に設定される。このような構成とすることにより、必要な時だけ補正すればよく、常時補正を実行する必要がない。   Here, the predetermined threshold value is a value that may adversely affect the image quality when the difference between the pixel values is equal to or greater than this value, that is, the density difference becomes conspicuous when the images read by the respective line sensors are combined. Set to a value. With such a configuration, it is sufficient to correct only when necessary, and there is no need to always perform correction.

請求項記載の画像読取方法は、 所定方向に沿って受光素子が配列されたラインセンサと、前記ラインセンサの読み取り領域のうち、少なくとも記録媒体に記録された画像を読み取る第1の読み取り領域以外の前記ラインセンサの両端の第2の読み取り領域に各々設けられた白基準板と、を備えた画像読取装置により実行される画像読取方法であって、前記第2の読み取り領域に対応した第2の受光素子により読み取られた前記第2の読み取り領域の画素値に基づいて、前記第1の読み取り領域に対応した第1の受光素子により読み取られた前記第1の読み取り領域の画素値をライン毎にリアルタイムで補正するステップを含み、前記補正するステップは、読み取った2つの第2の読み取り領域の画素値のうち大きい方の画素値及び予め定めた階調範囲の最大値から求めた第1の補正率に応じて、前記第1の読み取り領域の画素値を補正する第1の補正ステップと、前記2つの第2の読み取り領域の画素値のうち小さい方の画素値を前記第1の補正率により補正した後の画素値及び前記最大値から求めた第2の補正率と、前記第1の読み取り領域の前記所定方向における位置と、に応じて、前記第1の読み取り領域の前記第1の補正手段による補正後の画素値を補正する第2の補正ステップと、を含むことを特徴とする。 The image reading method according to claim 4, wherein the line sensor in which the light-receiving elements are arrayed along a predetermined direction, among the reading area of the line sensor, other than the first read area for reading an image recorded on at least a recording medium An image reading method executed by an image reading apparatus provided with a white reference plate provided in each of the second reading areas at both ends of the line sensor , wherein the second reading area corresponds to the second reading area. Based on the pixel value of the second reading area read by the light receiving element, the pixel value of the first reading area read by the first light receiving element corresponding to the first reading area for each line The step of correcting in real time , wherein the step of correcting includes a larger pixel value of the read pixel values of the second reading region and a predetermined pixel value. A first correction step of correcting the pixel value of the first reading area according to a first correction factor obtained from the maximum value of the gradation range, and the pixel values of the two second reading areas Depending on the pixel value after correcting the smaller pixel value with the first correction factor and the second correction factor obtained from the maximum value, and the position of the first reading area in the predetermined direction And a second correction step of correcting the pixel value after correction by the first correction means in the first reading area .

この発明によれば、読み取り動作を一旦停止させることなく補正を行うことができるため、ラインセンサの各受光素子間の濃度差を抑制することができるだけでなく、処理効率の低下を効果的に防ぐことができる。   According to the present invention, the correction can be performed without temporarily stopping the reading operation. Therefore, not only can the density difference between the light receiving elements of the line sensor be suppressed, but also a reduction in processing efficiency can be effectively prevented. be able to.

また、前記補正は、読み取った2つの第2の読み取り領域の画素値のうち大きい方の画素値及び予め定めた階調範囲の最大値から求めた第1の補正率に応じて、前記第1の読み取り領域の画素値を補正する第1の補正と、前記2つの第2の読み取り領域の画素値のうち小さい方の画素値を前記第1の補正率により補正した後の画素値及び前記最大値から求めた第2の補正率と、前記第1の読み取り領域の前記所定方向における位置と、に応じて、前記第1の読み取り領域の前記第1の補正手段による補正後の画素値を補正する第2の補正と、を含む Further, the correction is performed according to a first correction factor obtained from a larger pixel value of the read pixel values of the second reading area and a maximum value of a predetermined gradation range. A first correction for correcting a pixel value in the reading area of the first pixel, a pixel value after correcting a smaller pixel value of the pixel values in the two second reading areas by the first correction factor, and the maximum The pixel value after correction by the first correction unit of the first reading area is corrected according to the second correction rate obtained from the value and the position of the first reading area in the predetermined direction. Second correction to be performed .

このため、記録媒体に記録された画像の所定方向における濃度差を効果的に抑制することができる。 For this reason , the density difference in the predetermined direction of the image recorded on the recording medium can be effectively suppressed.

請求項記載の発明は、前記ラインセンサを複数設けた場合において、前記ラインセンサ毎に前記補正を実行することを特徴とする。 The invention according to claim 5 is characterized in that, when a plurality of line sensors are provided, the correction is executed for each line sensor.

この発明によれば、高速に画像を読み取ることができるが、本発明は、読み取り動作を停止することなく補正を実行することができるので、このようなラインセンサを複数設けた装置に本発明を適用することで特に効果がある。   According to the present invention, an image can be read at high speed. However, the present invention can perform correction without stopping the reading operation. Therefore, the present invention is applied to an apparatus provided with a plurality of such line sensors. It is particularly effective when applied.

請求項記載の発明は、複数のラインセンサにより各々読み取った前記第2の読み取り領域の画素値の差が所定閾値以上になった場合に、前記ラインセンサ毎に前記補正を実行することを特徴とする。 The invention according to claim 6 is characterized in that the correction is executed for each of the line sensors when a difference in pixel values of the second reading area respectively read by a plurality of line sensors is equal to or greater than a predetermined threshold value. And

この発明によれば、必要な時だけ補正すればよく、常時補正を実行する必要がない。   According to the present invention, it is sufficient to correct only when necessary, and it is not necessary to always perform correction.

以上説明したように本発明によれば、ラインセンサの各素子間の濃度差を抑制すると共に処理効率の低下を防ぐことができる、という効果を有する。   As described above, according to the present invention, it is possible to suppress the density difference between the elements of the line sensor and to prevent the processing efficiency from being lowered.

以下、図面を参照して、本発明の好適な実施の形態について説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

まず図1を参照して、本発明に係る機構が適用される印刷システムの概略構成の一例を説明する。   First, an example of a schematic configuration of a printing system to which a mechanism according to the present invention is applied will be described with reference to FIG.

この印刷システムは、大略的には、ホストコンピュータ10,プリンタコントローラ20,印刷装置100,印刷検査装置200,及び読取装置260から構成される。   The printing system generally includes a host computer 10, a printer controller 20, a printing device 100, a print inspection device 200, and a reading device 260.

ホストコンピュータ10は、印刷対象とする印刷データを作成する装置である。印刷対象のデータは、例えば、印刷する画像をページ記述言語で記述したデータの場合もあれば、印刷する画像を示すラスタ画像データの場合もある。また、帳票印刷などの定型印刷の場合は、定型書式(フォーム)の各欄に印刷すべき値を、例えばCSV(Comma Separated Value)形式などの所定形式で配列したファイルなどが、印刷データとして作成される。ホストコンピュータ10が作成した印刷データは、LAN(Local Area Network)等のデータ通信ネットワークを介して、又はCD−R/RW等の可搬型記憶媒体を介して、プリンタコントローラ20に入力される。   The host computer 10 is a device that creates print data to be printed. The data to be printed may be, for example, data in which an image to be printed is described in a page description language, or may be raster image data indicating an image to be printed. In the case of standard printing such as form printing, a file in which values to be printed in each column of a standard format (form) are arranged in a predetermined format such as CSV (Comma Separated Value) format is created as print data Is done. Print data created by the host computer 10 is input to the printer controller 20 via a data communication network such as a LAN (Local Area Network) or a portable storage medium such as a CD-R / RW.

プリンタコントローラ20は、ホストコンピュータ10が作成した印刷データを取得し、このデータから、印刷装置100が取り扱い可能な画像データ(例えばラスタイメージデータ)を生成し、これを印刷装置100に供給する。印刷データがページ記述言語のデータであれば、プリンタコントローラ20はそれを解釈して各ページの画像データを作成する。また、定型印刷の場合は、プリンタコントローラ20は、定型書式のデータを有しており(このデータはシステムのオペレータから予め登録される)、ホストコンピュータ10から入力された印刷データ中の各データ値をその定型書式に当てはめた画像データを作成し、出力する。プリンタコントローラ20から印刷装置100に供給される画像データを「原稿画像データ」と呼ぶことにする。またプリンタコントローラ20は、印刷データから、用紙サイズや片面/両面印刷などといった印刷処理の属性を示す制御データを抽出し、この制御データを印刷装置100に供給する。プリンタコントローラ20は、印刷データから作成した各ページの原稿画像データ及びそれに対応する制御データを、印刷装置100で用紙に印刷する順番に従って印刷装置100に供給する。   The printer controller 20 acquires print data created by the host computer 10, generates image data (for example, raster image data) that can be handled by the printing apparatus 100 from this data, and supplies this to the printing apparatus 100. If the print data is page description language data, the printer controller 20 interprets it and creates image data for each page. In the case of standard printing, the printer controller 20 has data in a standard format (this data is registered in advance by the system operator), and each data value in the print data input from the host computer 10 is stored. Creates and outputs image data that fits the standard format. Image data supplied from the printer controller 20 to the printing apparatus 100 is referred to as “original image data”. The printer controller 20 extracts control data indicating print processing attributes such as paper size and single-sided / double-sided printing from the print data, and supplies the control data to the printing apparatus 100. The printer controller 20 supplies the original image data of each page created from the print data and the corresponding control data to the printing apparatus 100 in the order in which the printing apparatus 100 prints on the paper.

印刷装置100は、プリンタコントローラ20から原稿画像データ及び制御データを受け取り、制御データが示す印刷処理属性に従って原稿画像データを用紙に印刷していく。   The printing apparatus 100 receives document image data and control data from the printer controller 20, and prints document image data on a sheet in accordance with a print processing attribute indicated by the control data.

読取装置260は、印刷装置100で印刷された印刷済用紙150の印刷面を光学的に読み取ることで、その印刷面の画像を示す検査画像データを生成する。   The reading device 260 optically reads the printed surface of the printed paper 150 printed by the printing device 100, thereby generating inspection image data indicating an image of the printed surface.

印刷検査装置200は、用紙に対する印刷結果の品質を検査する装置である。ここでは、一例として、読取装置260の読み取りにより得られた検査画像データを、プリンタコントローラ20から供給された原稿画像データ(これは検査画像データと同じページについての原稿画像である)と照合することで、印刷品質の検査を行うタイプの印刷検査装置200を例示している。   The print inspection apparatus 200 is an apparatus that inspects the quality of print results on paper. Here, as an example, inspection image data obtained by reading by the reading device 260 is collated with document image data supplied from the printer controller 20 (this is a document image for the same page as the inspection image data). A print inspection apparatus 200 of the type that performs print quality inspection is illustrated.

以上、印刷システムの概要を説明した。次に、印刷装置100,印刷検査装置200及び読取装置260の詳細を説明していく。   The outline of the printing system has been described above. Next, details of the printing apparatus 100, the print inspection apparatus 200, and the reading apparatus 260 will be described.

印刷装置100は、画像入力IF(インタフェース)回路105,プリントエンジン110,用紙搬送系112,排紙先切換ゲート114,駆動モータ116,正常排紙トレイ120,異常排紙トレイ125,エンコーダ130を含む。   The printing apparatus 100 includes an image input IF (interface) circuit 105, a print engine 110, a paper transport system 112, a paper discharge destination switching gate 114, a drive motor 116, a normal paper discharge tray 120, an abnormal paper discharge tray 125, and an encoder 130. .

画像入力IF回路105は、プリンタコントローラ20から原稿画像データ及び制御データを受け取るためのインタフェース回路である。受け取られた原稿画像データはプリントエンジン110に供給される。また、受け取られた制御データは、印刷装置100の全体動作を制御する制御部(図示省略)に供給される。この制御部は、その制御データに従い、使用する給紙トレイを選択したり、両面/片面印刷で用紙の搬送経路を切り替えたりなど、各種の制御を実行する。また、画像入力IF回路105は、プリンタコントローラ20から供給されるデータのうち少なくとも原稿画像データを、印刷検査装置200の原稿画像処理部210へと供給する。   The image input IF circuit 105 is an interface circuit for receiving document image data and control data from the printer controller 20. The received document image data is supplied to the print engine 110. The received control data is supplied to a control unit (not shown) that controls the overall operation of the printing apparatus 100. This control unit executes various controls according to the control data, such as selecting a paper feed tray to be used and switching a paper transport path in duplex / single-sided printing. Further, the image input IF circuit 105 supplies at least document image data among the data supplied from the printer controller 20 to the document image processing unit 210 of the print inspection apparatus 200.

プリントエンジン110は、画像入力IF回路105を介して入力された原稿画像データに基づき、用紙150上に原稿画像を印刷するための装置である。本発明は、プリントエンジン110の形式を問わない。電子写真方式、インクジェット方式など、様々なタイプのものを用いることができる。電子写真方式のプリントエンジン110は、感光体、露光装置、現像器、転写機構、定着機構、クリーナー機構などから構成される。   The print engine 110 is a device for printing a document image on a sheet 150 based on document image data input via the image input IF circuit 105. The present invention does not matter the format of the print engine 110. Various types such as an electrophotographic system and an inkjet system can be used. The electrophotographic print engine 110 includes a photoconductor, an exposure device, a developing device, a transfer mechanism, a fixing mechanism, and a cleaner mechanism.

用紙搬送系112は、印刷のために用紙を印刷装置100内で搬送するための機構である。用紙搬送系112は、給紙トレイ(図示省略)から用紙を取り出してプリントエンジン110のところまで搬送し、プリントエンジン110によって画像が印刷された用紙を正常排紙トレイ120乃至異常排紙トレイ125まで搬送する。また、両面印刷の場合は、表の印刷が終わった用紙を裏返し、再度プリントエンジン110のところまで搬送する。用紙搬送系112は、駆動モータ116によって回転駆動されるローラーやベルトなどにより構成される。   The paper transport system 112 is a mechanism for transporting paper within the printing apparatus 100 for printing. The paper transport system 112 takes out the paper from a paper feed tray (not shown) and transports it to the print engine 110, and the paper on which an image is printed by the print engine 110 is transferred from the normal paper discharge tray 120 to the abnormal paper discharge tray 125. Transport. In the case of double-sided printing, the paper on which the front surface has been printed is turned over and conveyed to the print engine 110 again. The paper transport system 112 is configured by a roller or a belt that is rotationally driven by a drive motor 116.

正常排紙トレイ120は、印刷検査装置200による印刷済用紙の検査により、良品と判定された印刷済用紙が蓄積されるトレイである。一方、異常排紙トレイ125は、その検査により不良品と判定された印刷済用紙が蓄積されるトレイである。   The normal paper discharge tray 120 is a tray in which printed sheets determined as non-defective products by the inspection of printed sheets by the print inspection apparatus 200 are accumulated. On the other hand, the abnormal paper discharge tray 125 is a tray in which printed sheets determined to be defective by the inspection are accumulated.

排紙先切換ゲート114は、印刷済の用紙の排紙先を正常排紙トレイ120又は異常排紙トレイ125の間で切り替えるための切り替え機構である。排紙先切換ゲート114は、印刷装置100の制御部が、印刷検査装置200から供給される検査結果の信号に基づき切換制御する。   The paper discharge destination switching gate 114 is a switching mechanism for switching the paper discharge destination of the printed paper between the normal paper discharge tray 120 or the abnormal paper discharge tray 125. The discharge destination switching gate 114 is controlled by the control unit of the printing apparatus 100 based on the inspection result signal supplied from the print inspection apparatus 200.

エンコーダ130は、駆動モータ116の回転を計測するためのロータリーエンコーダであり、駆動モータ116の回転速度に応じたパルス幅を持つエンコーダパルスを出力する。このエンコーダパルスは、印刷済の用紙が読取装置260の読取位置を通過する際の用紙搬送速度を求めるための基礎として用いる。逆に言えば、計測の対象とする駆動モータ116は、用紙搬送系112の読取位置付近のローラーやベルトを駆動するモータである必要がある。したがって更に言えば、エンコーダ130で、モータの変わりに、読取位置の直前又は直後(或いはその両方)の位置にある用紙搬送用のローラーの回転を計測してもよい。   The encoder 130 is a rotary encoder for measuring the rotation of the drive motor 116, and outputs an encoder pulse having a pulse width corresponding to the rotation speed of the drive motor 116. This encoder pulse is used as a basis for determining the paper conveyance speed when the printed paper passes the reading position of the reading device 260. In other words, the drive motor 116 to be measured needs to be a motor that drives a roller or a belt near the reading position of the paper transport system 112. Therefore, further, the encoder 130 may measure the rotation of the paper transport roller at the position immediately before or immediately after the reading position (or both) instead of the motor.

次に、読取装置260について説明する。読取装置260は、印刷装置100の用紙搬送系112において、プリントエンジン110の下流、かつ排紙先切換ゲート114の上流の位置に設けられる。読取装置260は、印刷済用紙150の印刷面を照らす照明光源と、撮像デバイスと、その照明に対する印刷面からの反射光を撮像デバイスの撮像面に結縁する結像光学系を備える。好適な例では、撮像デバイスとして、受光素子としてのCCD(電荷結合素子)のラインセンサを用いることができる。この場合、ラインセンサ及び結像光学系は、読取装置260の位置における用紙搬送方向に垂直な方向(主走査方向と呼ぶ)のラインをラインセンサで一度に読み取れるように配設される。そして、用紙搬送に同期して主走査方向のラインを1ラインずつラインセンサで読み取っていくことで、1ページの検査画像データを作成する。以下の例では、撮像デバイスとしてラインセンサを用いる構成を主たる例として説明していく。   Next, the reading device 260 will be described. The reading device 260 is provided at a position downstream of the print engine 110 and upstream of the paper discharge destination switching gate 114 in the paper transport system 112 of the printing apparatus 100. The reading device 260 includes an illumination light source that illuminates the printing surface of the printed paper 150, an imaging device, and an imaging optical system that links reflected light from the printing surface with respect to the illumination to the imaging surface of the imaging device. In a preferred example, a CCD (charge coupled device) line sensor as a light receiving element can be used as the imaging device. In this case, the line sensor and the imaging optical system are arranged so that a line in a direction perpendicular to the sheet conveyance direction (referred to as a main scanning direction) at the position of the reading device 260 can be read at a time by the line sensor. Then, the inspection image data for one page is created by reading the lines in the main scanning direction line by line with the line sensor in synchronization with the sheet conveyance. In the following example, a configuration using a line sensor as an imaging device will be described as a main example.

また、図3に示すように、用紙搬送系112の用紙搬送方向Aに垂直な方向の両端には、白基準板30A、30Bが設けられている。ラインセンサ265は、その両端が白基準板30A、30B上に位置するように配置される。なお、ラインセンサ265の各受光素子のうち白基準板30A、30Bを読み取る受光素子以外の受光素子が第1の受光素子として割り当てられ、白基準板30A、30Bを読み取る受光素子が第1の受光素子として割り当てられる。   As shown in FIG. 3, white reference plates 30A and 30B are provided at both ends of the paper transport system 112 in the direction perpendicular to the paper transport direction A. The line sensor 265 is arranged so that both ends thereof are positioned on the white reference plates 30A and 30B. Of the light receiving elements of the line sensor 265, light receiving elements other than the light receiving elements that read the white reference plates 30A and 30B are assigned as the first light receiving elements, and the light receiving elements that read the white reference plates 30A and 30B are the first light receiving elements. Assigned as an element.

用紙搬送系112により印刷済用紙150を搬送しながらラインセンサ265で印刷済用紙150を読み取ったときの画像は、図4に示すような画像イメージとなる。図4に示すように、画像イメージ34の両端は、白基準板30A、30Bを読み取った取った白基準イメージ領域(第2の読み取り領域を読み取った画像)となり、これらの白基準イメージ領域に挟まれた領域は用紙搬送系112を読み取った搬送路イメージ領域となり、さらにその内側は印刷済用紙150を読み取った用紙イメージ領域(第1の読み取り領域を読み取った画像)となる。   An image when the printed paper 150 is read by the line sensor 265 while the printed paper 150 is conveyed by the paper conveyance system 112 is an image as shown in FIG. As shown in FIG. 4, both ends of the image image 34 become white reference image regions (images read from the second reading region) taken by reading the white reference plates 30 </ b> A and 30 </ b> B, and are sandwiched between these white reference image regions. The area thus obtained is a conveyance path image area obtained by reading the paper conveyance system 112, and the inside thereof is a paper image area obtained by reading the printed paper 150 (an image obtained by reading the first reading area).

なお、白基準板30A、30Bは、ラインセンサ265で読み取った場合、理想的には濃度は‘0’となる白さを有するものである。従って、白基準イメージ領域における画素値(輝度値)は、例えば画素値の階調範囲を256階調とした場合、理想状態においては16進数で‘FF’となる。本実施形態では、階調範囲が256階調の場合について説明する。   The white reference plates 30A and 30B ideally have whiteness with a density of “0” when read by the line sensor 265. Accordingly, the pixel value (luminance value) in the white reference image region is “FF” in hexadecimal in the ideal state, for example, when the gradation range of the pixel value is 256 gradations. In the present embodiment, a case where the gradation range is 256 gradations will be described.

図4では、画像イメージ34の用紙搬送方向Aと垂直な方向における画素数が5000ピクセルであり、前記垂直な方向における白基準イメージ領域の画素数が各々10ピクセル、前記垂直な方向における搬送路イメージ領域の画素数が4980ピクセルの場合について示した。   In FIG. 4, the number of pixels in the image image 34 in the direction perpendicular to the paper conveyance direction A is 5000 pixels, the number of pixels in the white reference image region in the vertical direction is 10 pixels, and the conveyance path image in the vertical direction. The case where the number of pixels in the area is 4980 pixels is shown.

なお、本実施形態では、ラインセンサ265が固定され、用紙搬送系112によって印刷済用紙150を搬送しながら印刷済用紙150に印刷された画像を読み取る構成としているが、印刷済用紙150を固定し、ラインセンサ265を移動させて印刷済用紙150に印刷された画像を読み取る構成としてもよい。この場合、白基準板30A、30Bは、ラインセンサ265の移動方向を長手方向とし、少なくともラインセンサ265の移動範囲以上の長さを有する形状とすればよい。   In the present embodiment, the line sensor 265 is fixed, and the printed paper 150 is read by the paper transport system 112 while the printed paper 150 is transported. However, the printed paper 150 is fixed. Alternatively, the line sensor 265 may be moved to read an image printed on the printed paper 150. In this case, the white reference plates 30 </ b> A and 30 </ b> B may have a shape in which the moving direction of the line sensor 265 is the longitudinal direction and has a length at least longer than the moving range of the line sensor 265.

印刷検査装置200は、原稿画像処理部210,原稿画像バッファ215,検査画像処理部220,検査画像バッファ225,照合部230,検査情報記憶装置235,表示制御部240,表示装置245,及びUI(ユーザインタフェース)部250を備えている。   The print inspection apparatus 200 includes an original image processing unit 210, an original image buffer 215, an inspection image processing unit 220, an inspection image buffer 225, a collation unit 230, an inspection information storage device 235, a display control unit 240, a display device 245, and a UI ( A user interface) unit 250 is provided.

原稿画像処理部210は、画像入力IF回路105で分岐された原稿画像データを受け取り、この原稿画像データに対して、検査画像データとの照合のために必要な画像処理を施す機能モジュールである。照合のために必要な画像処理の代表例としては、解像度変換がある。もちろん、これはあくまで一例であり、他の画像処理が行われる場合もある。また、原稿画像データに対して複数の画像処理が施される場合もある。これら各種の画像処理の機能は、ハードウエア回路として構成することができる。もちろん複数の画像処理機能を1つのハードウエア回路に組み込むこともできる。   The document image processing unit 210 is a functional module that receives document image data branched by the image input IF circuit 105 and performs image processing necessary for collation with inspection image data on the document image data. A representative example of image processing necessary for collation is resolution conversion. Of course, this is merely an example, and other image processing may be performed. In addition, a plurality of image processing may be performed on the document image data. These various image processing functions can be configured as a hardware circuit. Of course, a plurality of image processing functions can be incorporated into one hardware circuit.

原稿画像バッファ215は、原稿画像処理部210で処理された原稿画像データを一時的に記憶するバッファメモリである。   The document image buffer 215 is a buffer memory that temporarily stores document image data processed by the document image processing unit 210.

検査画像処理部220は、読取装置260が生成した検査画像データに対し、原稿画像との照合のために必要な画像処理を施す機能モジュールである。検査画像処理部220が実行する画像処理としては、シェーディング補正や露光補正、位置ずれ補正、倍率補正、二値化などがある。   The inspection image processing unit 220 is a functional module that performs image processing necessary for collation with the document image on the inspection image data generated by the reading device 260. Image processing executed by the inspection image processing unit 220 includes shading correction, exposure correction, positional deviation correction, magnification correction, binarization, and the like.

また検査画像処理部220は、読取装置260による画像読取動作を制御する機能を備える。すなわち、検査画像処理部220は、エンコーダ130からエンコーダパルスを受け取り、このエンコーダパルスから、読取装置260の読取位置での用紙搬送速度を求め、この用紙搬送速度に基づきライン同期信号を生成し、このライン同期信号に同期して読取装置260のラインセンサから1ラインずつ画像信号を読み出していく。   The inspection image processing unit 220 has a function of controlling an image reading operation by the reading device 260. That is, the inspection image processing unit 220 receives an encoder pulse from the encoder 130, obtains a paper conveyance speed at the reading position of the reading device 260 from the encoder pulse, generates a line synchronization signal based on the paper conveyance speed, The image signal is read line by line from the line sensor of the reading device 260 in synchronization with the line synchronization signal.

検査画像処理部220が実行するこのような画像処理機能や制御機能は、原稿画像処理部210の場合と同様、ハードウエア回路として構成することができる。そして、それらハードウエア回路の集合体として、検査画像処理部220を構成することができる。   Such an image processing function and control function executed by the inspection image processing unit 220 can be configured as a hardware circuit as in the case of the document image processing unit 210. The inspection image processing unit 220 can be configured as an aggregate of these hardware circuits.

検査画像バッファ225は、検査画像処理部220で処理された検査画像データを一時的に記憶するバッファメモリである。   The inspection image buffer 225 is a buffer memory that temporarily stores inspection image data processed by the inspection image processing unit 220.

照合部230は、原稿画像バッファ215内の原稿画像データと検査画像バッファ225内の検査画像データとを読み出して両者を照合することにより、その検査画像データに対応する印刷済用紙の印刷品質の良否を判定する。照合部230の処理のうち、原稿画像データ及び検査画像データの両画像の比較や良否判定の処理は、従来の処理を利用することができるので、説明を省略する。なお、印刷検査装置200が原稿画像データを取得するタイミングと、その原稿画像データに対応する検査画像データを取得するタイミングには差があるが、印刷検査装置200内に設けられた原稿画像バッファ215や検査画像バッファ225などのバッファ機能により、照合部230の照合までにその差が吸収できるようになっている。   The collation unit 230 reads out the original image data in the original image buffer 215 and the inspection image data in the inspection image buffer 225 and collates them, so that the print quality of the printed paper corresponding to the inspection image data is good or bad. Determine. Of the processes of the collation unit 230, the comparison of both the original image data and the inspection image data and the quality determination process can use conventional processes, and thus the description thereof is omitted. Although there is a difference between the timing at which the print inspection apparatus 200 acquires document image data and the timing at which inspection image data corresponding to the document image data is acquired, the document image buffer 215 provided in the print inspection apparatus 200. The buffer function such as the inspection image buffer 225 can absorb the difference until the collation by the collation unit 230.

照合部230は、この良否判定の結果を示す信号を印刷装置100に対して供給する。印刷装置100の制御部は、この信号に従って排紙先切換ゲート114を切換制御することで、良品と判定された印刷済用紙は正常排紙トレイ120へ、不良品と判定された印刷済用紙は異常排紙トレイ125へ排紙されるようにする。   The collation unit 230 supplies a signal indicating the result of the quality determination to the printing apparatus 100. The control unit of the printing apparatus 100 switches and controls the discharge destination switching gate 114 according to this signal, so that the printed paper determined to be non-defective is transferred to the normal discharge tray 120, and the printed paper determined to be defective is The paper is discharged to the abnormal paper discharge tray 125.

また、照合部230は、照合処理の結果不良品と判定された印刷済用紙についての原稿画像データ及び検査画像データを検査情報記憶装置235に登録する。これら原稿画像データ及び検査画像データは、それらがどのジョブの何ページ目の印刷結果に対応するものであるかを示す情報(両面印刷の場合は用紙の番号と表又は裏のいずれであるかを示す情報でもよい)と関連づけて登録される。   Further, the collation unit 230 registers the original image data and the inspection image data for the printed paper determined to be defective as a result of the collation processing in the inspection information storage device 235. These document image data and inspection image data indicate information indicating which page of which job corresponds to the print result (in the case of double-sided printing, whether the sheet number is front or back). Information may be registered).

検査情報記憶装置235は、ハードディスク等の大容量の記憶媒体で構成される。検査情報記憶装置235に記憶した原稿画像データ及び検査画像データは、後で検査内容を確認する等の目的のために参照できるようになっている。以上では、不良品と判定された印刷済用紙についてのデータのみを検査情報記憶装置235に登録したが、検査情報記憶装置235の容量が許すならば、すべての印刷済用紙についてのデータを登録するようにしてもよい。この場合、印刷済用紙ごとに、良品か不良品かという判定結果を合わせて登録することが好適である。   The inspection information storage device 235 is configured by a large-capacity storage medium such as a hard disk. The document image data and the inspection image data stored in the inspection information storage device 235 can be referred to for the purpose of confirming the inspection contents later. In the above, only the data on the printed paper determined to be defective is registered in the inspection information storage device 235. However, if the capacity of the inspection information storage device 235 allows, the data on all printed paper is registered. You may do it. In this case, it is preferable to register the determination result for each printed sheet together with a determination result as a non-defective product or a defective product.

表示制御部240は、印刷検査について各種情報を表示するための表示画面を生成する機能モジュールである。表示制御部240は、原稿画像バッファ215及び検査画像バッファ225に保持された原稿画像データ及び検査画像データを、比較のために並べて示したり重ねて示したりした表示画像を生成する機能を備える。生成された表示画像は、表示装置245に表示される。   The display control unit 240 is a functional module that generates a display screen for displaying various types of information regarding the print inspection. The display control unit 240 has a function of generating a display image in which document image data and inspection image data held in the document image buffer 215 and the inspection image buffer 225 are displayed side by side or overlaid for comparison. The generated display image is displayed on the display device 245.

また表示制御部240は、検査情報記憶装置235に登録された原稿画像データや検査画像データを示した表示画像を生成する機能を備える。不良品と判定された印刷済用紙について知りたい場合、ユーザはこの機能によりそれについての検査画像データを表示装置245に画面表示したり、更に必要がある場合には、対応する原稿画像データを画面表示したりすることができる。   Further, the display control unit 240 has a function of generating a display image showing document image data and inspection image data registered in the inspection information storage device 235. When the user wants to know about the printed paper determined to be defective, the user displays the inspection image data on the screen on the display device 245 by this function, and if necessary, displays the corresponding original image data on the screen. Can be displayed.

UI部250は、印刷検査装置200を操作するためのユーザインタフェース手段である。UI部250は、入力のための機械式のキーやボタン、ポインティングデバイスなどを備える。例えばユーザは、UI部250を操作することにより、現在の原稿画像バッファ215及び検査画像バッファ225の画像を表示させるか、検査情報記憶装置235に記憶された検査画像や原稿画像を表示させるかなどを選択することができる。   The UI unit 250 is a user interface unit for operating the print inspection apparatus 200. The UI unit 250 includes mechanical keys and buttons for input, a pointing device, and the like. For example, the user operates the UI unit 250 to display the current image of the original image buffer 215 and the inspection image buffer 225, or to display the inspection image or the original image stored in the inspection information storage device 235. Can be selected.

以上、本実施形態の印刷システムについて説明した。以上に説明したシステムでは、印刷装置100のプリントエンジン110によって用紙に印刷を行うと、その用紙の印刷面を読取装置260で読み取り、この読み取りにより得られた検査画像データに対し、照合のために必要な各種の処理を検査画像処理部220で施した後、照合部230にて原稿画像データとの比較を行う。   The printing system of this embodiment has been described above. In the system described above, when printing is performed on a sheet by the print engine 110 of the printing apparatus 100, the printing surface of the sheet is read by the reading device 260, and the inspection image data obtained by the reading is checked for verification. After various necessary processes are performed by the inspection image processing unit 220, the collation unit 230 performs comparison with the document image data.

次に、図2を参照して、検査画像処理部220の詳細について説明する。図示のように、検査画像処理部220を構成する回路は、制御信号生成部300と画像処理部320とに大別することができる。   Next, the details of the inspection image processing unit 220 will be described with reference to FIG. As shown in the figure, the circuits constituting the inspection image processing unit 220 can be roughly divided into a control signal generation unit 300 and an image processing unit 320.

制御信号生成部300は、画像読取の制御のためのライン同期信号や用紙搬送速度を示す信号などの制御信号を生成する回路である。   The control signal generation unit 300 is a circuit that generates control signals such as a line synchronization signal for controlling image reading and a signal indicating a sheet conveyance speed.

制御信号生成部300において、カウンタ302には印刷装置100のエンコーダ130からエンコーダパルスが入力される。カウンタ302は、入力されるエンコーダパルスを所定の単位時間の間カウントし、その単位時間当たりのカウント値を示す信号を出力する。この信号は、読取装置260の読取位置における用紙搬送速度に対応している。   In the control signal generation unit 300, an encoder pulse is input to the counter 302 from the encoder 130 of the printing apparatus 100. The counter 302 counts input encoder pulses for a predetermined unit time, and outputs a signal indicating the count value per unit time. This signal corresponds to the paper conveyance speed at the reading position of the reading device 260.

カウント補正回路304は、カウンタ302が出力したカウント値を補正するための回路である。個体差や印刷装置100の設置環境の差などに起因するカウント値の誤差を補正するためのものである。パラメータ記憶部304mは、不揮発性の記憶装置を有しており、この補正の計算に用いられるパラメータ値を記憶する。カウント補正回路304の出力は、搬送速度信号として画像処理部320及び同期信号生成回路306に供給される。   The count correction circuit 304 is a circuit for correcting the count value output from the counter 302. This is for correcting an error in the count value caused by individual differences or differences in the installation environment of the printing apparatus 100. The parameter storage unit 304m has a non-volatile storage device, and stores parameter values used for calculation of this correction. The output of the count correction circuit 304 is supplied to the image processing unit 320 and the synchronization signal generation circuit 306 as a conveyance speed signal.

同期信号生成回路306は、カウント補正回路304から供給される用紙搬送速度を示す信号に基づき、ライン同期信号を生成する。ライン同期信号は、1ラインの画像信号が存在する期間だけH(ハイ)レベルとなり、それ以外の期間はL(ロー)レベルとなる信号である(この逆の極性となる信号でももちろんよい)。同期信号生成回路306は、用紙搬送速度が大きいほど、ライン同期信号における隣接するHレベル区間の間隔が小さくなるようにライン同期信号を生成する。これにより、用紙搬送速度の大小によらず、用紙の搬送速度方向の長さが同じであれば、同じライン数の画像信号が取得されるようにする。同期信号生成回路306が生成したライン同期信号は、画像処理部320に供給される。   The synchronization signal generation circuit 306 generates a line synchronization signal based on a signal indicating the sheet conveyance speed supplied from the count correction circuit 304. The line synchronization signal is a signal that is at the H (high) level only during the period when the image signal of one line is present, and is at the L (low) level during the other periods (of course, a signal having the opposite polarity may be used). The synchronization signal generation circuit 306 generates the line synchronization signal so that the interval between adjacent H level sections in the line synchronization signal becomes smaller as the sheet conveyance speed is higher. As a result, image signals having the same number of lines are acquired if the length in the direction of paper conveyance speed is the same regardless of the size of the paper conveyance speed. The line synchronization signal generated by the synchronization signal generation circuit 306 is supplied to the image processing unit 320.

次に画像処理部320について説明する。画像処理部320は、制御信号生成部300が生成するライン同期信号に従って、読取装置260の撮像デバイス(ラインセンサ265)から1ラインずつ画像信号を読み出し、その画像信号に対し照合部230での照合のために必要な画像処理を施す。ラインセンサ265が出力する画像信号は、図示しないA/D変換回路でデジタルデータに変換された後、画像処理部320に入力される。画像処理部320が実行する画像処理は、基本的には、読み取りの際に混入する誤差要因を排除するためのものである。このような画像処理の一例として、例えば、露光補正や位置ずれ補正などがある。もちろん画像処理部320が実行する画像処理はこれに限らない。例えば照合部230での照合処理が二値化画像同士の比較で行われる場合、画像処理として、二値化の処理が必要になる。図2の例では、画像処理部320として、シェーディング補正、露光補正、濃度むら補正、位置ずれ補正、倍率補正、及び二値化を行うものを例示する。   Next, the image processing unit 320 will be described. The image processing unit 320 reads out the image signal line by line from the imaging device (line sensor 265) of the reading device 260 in accordance with the line synchronization signal generated by the control signal generation unit 300, and the collation unit 230 collates the image signal. The necessary image processing is performed. The image signal output from the line sensor 265 is converted into digital data by an A / D conversion circuit (not shown) and then input to the image processing unit 320. The image processing executed by the image processing unit 320 is basically for eliminating an error factor mixed during reading. Examples of such image processing include exposure correction and misalignment correction. Of course, the image processing executed by the image processing unit 320 is not limited to this. For example, when the collation processing in the collation unit 230 is performed by comparing binarized images, binarization processing is necessary as image processing. In the example of FIG. 2, the image processing unit 320 exemplifies a unit that performs shading correction, exposure correction, density unevenness correction, positional deviation correction, magnification correction, and binarization.

シェーディング補正回路322は、入力されるデジタルの画像信号に対して、シェーディング補正を施す。シェーディング補正は、読取装置260の照明の照度むら等による検査画像中の低周波のむらを補正する処理である。シェーディング補正の処理内容は周知なので詳細は省略する。シェーディング補正の計算には、白基準値(用紙の地色である白色の輝度を示す)などのパラメータを必要とする。このパラメータは、パラメータ記憶部322mに記憶される。   The shading correction circuit 322 performs shading correction on the input digital image signal. The shading correction is a process for correcting low-frequency unevenness in the inspection image due to uneven illumination of the reading device 260. The details of the shading correction process are well known and will not be described in detail. The calculation of shading correction requires parameters such as a white reference value (indicating white brightness as the background color of the paper). This parameter is stored in the parameter storage unit 322m.

露光補正回路324は、シェーディング補正された画像データに対して露光補正を施す回路である。この露光補正は、用紙が読取装置260の読取位置を通過する際の用紙の搬送速度に応じ、当該ライン上の各画素の輝度値を補正する処理である。すなわち、読取位置での用紙搬送速度が大きいほど、読取対象のラインの露光時間が短くなり、露光量が少なくなるため、画像の輝度が低くなる。そこで、露光補正では、用紙搬送速度が大きいほど、当該ライン上の各画素の輝度値を大きくするように補正する。この露光補正は、制御信号生成部300から供給される用紙速度信号に基づき実行される。この露光補正にも、補正値を求める際の基準値や係数などのパラメータが必要であり、このパラメータはパラメータ記憶部324mに記憶されている。   The exposure correction circuit 324 is a circuit that performs exposure correction on the shading-corrected image data. This exposure correction is a process of correcting the luminance value of each pixel on the line in accordance with the conveyance speed of the sheet when the sheet passes the reading position of the reading device 260. That is, the higher the paper conveyance speed at the reading position, the shorter the exposure time of the line to be read and the smaller the exposure amount, so that the brightness of the image is lowered. Therefore, in the exposure correction, the luminance value of each pixel on the line is corrected so as to increase as the paper conveyance speed increases. This exposure correction is executed based on the paper speed signal supplied from the control signal generator 300. This exposure correction also requires parameters such as reference values and coefficients for obtaining correction values, and these parameters are stored in the parameter storage unit 324m.

濃度むら補正回路325は、ラインセンサで読み取ったライン画像毎に、白基準イメージ領域の画素の輝度値に基づいて、用紙イメージ領域の画素の輝度値を補正する処理を施す回路である。前述したように、白基準イメージ領域における画素値は、理想状態においては‘FF’となるはずであるが、長時間連続して装置を稼働させた場合、例えば装置の振動等により光源の位置が微妙にずれることによる光路のずれ、ラインセンサの各素子の温度変化等の環境変化が生じる。この場合、ラインセンサの各素子間で読み取り濃度に差が生じる場合がある。このため、濃度むら補正回路325では、ジョブを停止させることなく、ライン毎に用紙イメージ領域の画素の輝度値をリアルタイムで補正する。   The density unevenness correction circuit 325 is a circuit that performs processing for correcting the luminance value of the pixel in the paper image area based on the luminance value of the pixel in the white reference image area for each line image read by the line sensor. As described above, the pixel value in the white reference image region should be 'FF' in an ideal state. However, when the apparatus is operated continuously for a long time, the position of the light source is, for example, due to vibration of the apparatus. Environmental changes such as optical path shifts due to subtle shifts and temperature changes of each element of the line sensor occur. In this case, there may be a difference in reading density between each element of the line sensor. Therefore, the density unevenness correction circuit 325 corrects the luminance value of the pixel in the paper image area for each line in real time without stopping the job.

以下、濃度むら補正について具体的に説明する。   The density unevenness correction will be specifically described below.

図5には、ラインセンサにより読み取った1ライン分のライン画像の画素値(輝度値)の一例を示した。なお、図5において左側の白基準イメージ領域の画素値が白基準板30Aを読み取った画素値であり、右側の白基準イメージ領域の画素値が白基準板30Bを読み取ったときの画素値である。   FIG. 5 shows an example of pixel values (luminance values) of a line image for one line read by the line sensor. In FIG. 5, the pixel value of the left white reference image region is a pixel value obtained by reading the white reference plate 30A, and the pixel value of the right white reference image region is a pixel value obtained by reading the white reference plate 30B. .

濃度むら補正回路325は、両側の白基準イメージ領域の画素値を比較し、大きい方の画素値(基準画素値)に基づいて、ライン画像の各画素値を補正する。なお、図5では、左側の白基準イメージ領域の画素値が16進数で‘F0’、右側の白基準イメージ領域の画素値が‘E0’であり、左側の白基準イメージ領域の画素値の方が大きいため、この画素値に基づいてライン画像の各画素値を補正する。   The density unevenness correction circuit 325 compares the pixel values of the white reference image regions on both sides, and corrects each pixel value of the line image based on the larger pixel value (reference pixel value). In FIG. 5, the pixel value of the left white reference image region is “F0” in hexadecimal, the pixel value of the right white reference image region is “E0”, and the pixel value of the left white reference image region is Therefore, each pixel value of the line image is corrected based on this pixel value.

なお、図5では、各白基準イメージ領域の画素値は同一となっているが、ばらつきが生じる場合もある。この場合、濃度むら補正回路325は、両側の白基準イメージ領域の画素値の代表値を各々求める。この代表値は、例えば白基準イメージ領域の画素値の最大値でもよいし平均値でもよい。そして、両側の白基準イメージ領域の画素値の代表値を比較し、大きい方の代表値(基準画素値)に基づいて、ライン画像の各画素値を補正する。   In FIG. 5, the pixel values of the respective white reference image areas are the same, but there may be variations. In this case, the density unevenness correction circuit 325 obtains representative values of the pixel values of the white reference image areas on both sides. This representative value may be, for example, the maximum value or the average value of the pixel values in the white reference image area. Then, the representative values of the pixel values of the white reference image regions on both sides are compared, and each pixel value of the line image is corrected based on the larger representative value (reference pixel value).

ライン画像の各画素値の補正は、基準画素値をA、画素値の階調範囲の最大値をM(本実施形態では‘FF’)、補正対象の画素の補正前の画素値をB、補正後の画素値をB’として、次式により行う。   For correction of each pixel value of the line image, the reference pixel value is A, the maximum value of the gradation range of the pixel value is M (in this embodiment, “FF”), the pixel value before correction of the correction target pixel is B, The corrected pixel value is set as B ′ and the following equation is used.

B’=(M/A)×B ・・・(1)
上記(1)式によりライン画像の各画素値を補正することにより、各領域の画素値は図6に示すように補正される。すなわち、上記(1)式による補正では、左側の白基準イメージ領域の画素の画素値については、A=Bとなるので、階調範囲の最大値Mに補正され、その他の領域の画素の画素値は、左側の白基準イメージ領域の画素の画素値の補正率(M/A:第1の補正率)に従って補正される。
B ′ = (M / A) × B (1)
By correcting each pixel value of the line image by the above equation (1), the pixel value of each region is corrected as shown in FIG. That is, in the correction according to the above equation (1), the pixel value of the pixel in the left white reference image region is A = B, so that it is corrected to the maximum value M in the gradation range, and the pixel value of the pixel in the other region The value is corrected according to the correction rate (M / A: first correction rate) of the pixel value of the pixel in the left white reference image region.

ここで、右側の白基準イメージ領域の画素値‘E0’は、上記(1)式により補正すると、図6に示すように‘EF’に補正されるが、本来の画素値‘FF’に満たない。   Here, when the pixel value “E0” in the white reference image area on the right side is corrected by the above equation (1), it is corrected to “EF” as shown in FIG. 6, but it satisfies the original pixel value “FF”. Absent.

このため、濃度むら補正回路325では、上記(1)式による補正の後、さらに右側の白基準イメージ領域の画素値に基づいて白基準イメージ領域以外の領域のライン画像の各画素値を補正する。   For this reason, the density unevenness correction circuit 325 corrects each pixel value of the line image in the region other than the white reference image region based on the pixel value of the white reference image region on the right side after the correction according to the equation (1). .

具体的には、右側の白基準イメージ領域の上記(1)式による補正後の画素値をB1’とし、最大値MをB1’で除算することにより補正率C(=M/B1’:第2の補正率)を求める。そして、白基準イメージ領域以外の領域、すなわち搬送路イメージ領域及び用紙イメージ領域を含む領域の画素数(本実施形態では4980)をP、その領域のピクセルNoをN、上記(1)式により補正後の画素値をB’として、次式により補正後の画素値B”を求める。   Specifically, the corrected pixel value of the right-side white reference image region according to the above equation (1) is set as B1 ′, and the maximum value M is divided by B1 ′, thereby correcting C (= M / B1 ′: No. 2). The number of pixels (4980 in this embodiment) of the area other than the white reference image area, that is, the area including the conveyance path image area and the paper image area is corrected by P, the pixel No. of the area is corrected by N, and the above equation (1). The corrected pixel value B ″ is obtained by the following equation, where B ′ is the subsequent pixel value.

B”=(((C−1)/P)×N)+1)×B’ ・・・(2)
なお、ピクセルNoは、白基準イメージ領域以外の領域について、補正の基準として選択された白基準イメージ領域側、すなわち左側の白基準イメージ領域側から順に1から付番する。すなわち、図6の場合、左側の搬送路イメージ領域の左端の画素のピクセルNoが‘1’となり、右側の搬送路イメージ領域の右端の画素のピクセルNoが4980となる。なお、図6に示す例では、右側の白基準イメージ領域の上記(1)式による補正後の画素値は‘EF’であるため、C=(FF)16/(EF)16≒1.07となる。
B ″ = (((C−1) / P) × N) +1) × B ′ (2)
The pixel numbers are numbered from 1 for the regions other than the white reference image region in order from the white reference image region side selected as the correction reference, that is, the left white reference image region side. That is, in the case of FIG. 6, the pixel No. of the leftmost pixel in the left conveyance path image area is “1”, and the pixel No. of the rightmost pixel in the right conveyance path image area is 4980. Incidentally, in the example shown in FIG. 6, the pixel values after correction by the equation (1) on the right side of the white reference image area is 'EF', C = (FF ) 16 / (EF) 16 ≒ 1.07 It becomes.

これにより、図7に示すように、画像イメージ34の両端の画素値が最大値Mとなるように補正され、これに伴って用紙イメージ領域の画素値が補正されるため、ラインセンサの長手方向における濃度むらを補正することができる。また、白基準板30A、30Bは用紙搬送系112の両端に設置されているため、ジョブを停止して濃度むらの補正を行う必要はなく、1ライン毎に画像の読み取り及び補正を行うことができる。従って、処理効率を向上させることができる。また、基本的に1ライン分の画像を記憶するメモリがあればリアルタイムに濃度むらを補正することができるため、メモリ容量を小さくすることができる。従って、装置を簡単かつ安価な構成とすることができる。   As a result, as shown in FIG. 7, the pixel values at both ends of the image image 34 are corrected to the maximum value M, and the pixel values in the paper image area are corrected accordingly. It is possible to correct the density unevenness in. Further, since the white reference plates 30A and 30B are installed at both ends of the paper conveyance system 112, it is not necessary to stop the job and correct the density unevenness, and the image can be read and corrected for each line. it can. Therefore, processing efficiency can be improved. In addition, if there is basically a memory for storing an image for one line, density unevenness can be corrected in real time, so that the memory capacity can be reduced. Therefore, the apparatus can be configured to be simple and inexpensive.

位置ずれ補正回路326は、濃度むら補正回路325による補正を受けた画像データに対して位置ずれ補正を行う。位置ずれ補正は、装置個体差などによる検査画像データの主走査方向(所定方向)の位置ずれを補正する処理である。すなわち、用紙搬送系112と読取装置260の取付位置関係は個々のシステムで微妙に異なる結果、読み取った検査画像データの主走査方向の位置は個々のシステムで異なってくるため、これを補正するのである。この位置ずれの補正のためには、正常状態からの位置ずれの量に対応した補正量などのパラメータが必要であり、このパラメータの値はパラメータ記憶部326mに記憶されている。   The positional deviation correction circuit 326 performs positional deviation correction on the image data that has been corrected by the density unevenness correction circuit 325. The misregistration correction is a process for correcting misregistration in the main scanning direction (predetermined direction) of the inspection image data due to individual apparatus differences. That is, the attachment position relationship between the paper conveyance system 112 and the reading device 260 is slightly different in each system. As a result, the position of the read inspection image data in the main scanning direction is different in each system. is there. In order to correct this positional deviation, parameters such as a correction amount corresponding to the amount of positional deviation from the normal state are necessary, and the value of this parameter is stored in the parameter storage unit 326m.

倍率補正回路328は、位置ずれ補正回路326により補正を受けた画像データに対し、倍率補正処理を施す回路である。ここで、倍率補正は、検査画像データの主走査方向の倍率を補正する処理である。例えば、読取対象に対し撮像デバイスの位置を変えることで異なる用紙サイズの読取対象に対応する構成の場合、用紙サイズに応じて検査画像データの1画素に対応する読取対象の大きさが異なってくるため、これをこの倍率補正により補正する。倍率補正回路328は、印刷装置100から、当該検査画像データに対応する印刷済用紙のサイズを示す用紙選択信号を取得し、この用紙選択信号の示す用紙サイズに応じた倍率補正を行う。なお、用紙選択信号は、印刷装置100がプリンタコントローラ20から受け取る制御データに含まれている。原稿画像データとこれに対応する制御データが印刷装置100に入力されるタイミングと、その原稿画像データに対応する印刷済用紙が読取装置260で読み取られ、検査画像処理部220に入力されるタイミングとには時間差があるが、用紙選択信号はこの時間差だけ遅延された上で、倍率補正回路328に供給される。   The magnification correction circuit 328 is a circuit that performs magnification correction processing on the image data that has been corrected by the positional deviation correction circuit 326. Here, the magnification correction is a process of correcting the magnification in the main scanning direction of the inspection image data. For example, in the case of a configuration corresponding to a reading target of a different paper size by changing the position of the imaging device with respect to the reading target, the size of the reading target corresponding to one pixel of the inspection image data varies depending on the paper size. Therefore, this is corrected by this magnification correction. The magnification correction circuit 328 acquires a paper selection signal indicating the size of the printed paper corresponding to the inspection image data from the printing apparatus 100, and performs magnification correction according to the paper size indicated by the paper selection signal. The paper selection signal is included in control data that the printing apparatus 100 receives from the printer controller 20. Timing when document image data and control data corresponding thereto are input to the printing apparatus 100, timing when printed paper corresponding to the document image data is read by the reading device 260, and input to the inspection image processing unit 220 Although there is a time difference, the paper selection signal is delayed by this time difference and supplied to the magnification correction circuit 328.

二値化回路330は、倍率補正回路328で補正された検査画像データに対し、二値化処理を施す回路である。二値化は、読取装置260が生成した多値の検査画像データを、1画素当たり1ビットの二値画像データに変換する処理である。印刷結果における画像の欠落や汚れを検出しようとする場合、この二値化により検出のための処理を簡素化できる。二値化回路330は、パラメータ記憶部330mに記憶されたパラメータを用いて二値化処理を実行する。ここで用いられるパラメータには、二値化結果を白にするか黒にするかの境界となる画素値である二値化しきい値などがある。   The binarization circuit 330 is a circuit that performs binarization processing on the inspection image data corrected by the magnification correction circuit 328. Binarization is a process of converting multi-value inspection image data generated by the reading device 260 into binary image data of 1 bit per pixel. When it is attempted to detect missing or smeared images in the printing result, this binarization can simplify the detection process. The binarization circuit 330 executes binarization processing using the parameters stored in the parameter storage unit 330m. The parameters used here include a binarization threshold value that is a pixel value that serves as a boundary between whether the binarization result is white or black.

以上、検査画像処理部220が実行する画像処理の例をいくつか示したが、検査画像処理部220が上に例示したすべての画像処理を実行するものである必要はない。また例示した画像処理は一例にすぎず、検査画像処理部220がこの他に、例えばスキュー補正など他の画像処理を行うものであってもよい。   As described above, some examples of the image processing executed by the inspection image processing unit 220 have been shown. However, the inspection image processing unit 220 does not have to execute all the image processings exemplified above. The illustrated image processing is only an example, and the inspection image processing unit 220 may perform other image processing such as skew correction, for example.

以上に説明した制御信号生成部300及び画像処理部320は、ASIC(application specific IC)やFPGA(field programmable gate array)などのハードウエア回路として構成することができる。ここで、制御信号生成部300と画像処理部320という分け方はあくまで便宜上のものである。したがって、それらに含まれる回路302,304,304m,306,322,322m,324,324m,326,326m,328,330,330mのすべてを1つのASIC等として構成しても良いし、或いはそれら各回路を適宜複数のASIC等に割り振ることで、検査画像処理部220を複数のASIC等やICなどで構成してもよい。   The control signal generation unit 300 and the image processing unit 320 described above can be configured as a hardware circuit such as an application specific IC (ASIC) or a field programmable gate array (FPGA). Here, the method of dividing the control signal generation unit 300 and the image processing unit 320 is merely for convenience. Therefore, all of the circuits 302, 304, 304m, 306, 322, 322m, 324, 324m, 326, 326m, 328, 330, 330m included in them may be configured as one ASIC or the like. The inspection image processing unit 220 may be configured by a plurality of ASICs or ICs by appropriately allocating a circuit to a plurality of ASICs or the like.

各パラメータ記憶部304m,322m〜330mとしては、それぞれEEPROM(Electrically Erasable Programmable Read−Only Memory)又はバッテリバックアップ付きのSRAM(Static Random Access Memory)などの不揮発性の書換可能なメモリ要素が用いられる。例えば印刷システムの工場出荷時や印刷システム設置時の検査、或いはカスタマエンジニアによる定期点検などの際に、例えば各パラメータの値をある範囲で振りながらシステムを運転する等の作業により、それら各パラメータの最適値がそれぞれ求められ、各パラメータ記憶部304m,322m〜330mに記憶される。   Each of the parameter storage units 304m and 322m to 330m is a nonvolatile rewritable memory element such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) or an SRAM (Static Random Access Memory) with a battery backup. For example, at the time of printing system shipment, inspection at the time of printing system installation, or periodic inspection by a customer engineer, for example, by operating the system while shaking the value of each parameter within a certain range, Optimum values are obtained and stored in the parameter storage units 304m and 322m to 330m.

以上の例では、検査画像に対して各画像処理、乃至画像処理の基礎となる搬送速度信号などの信号を生成する処理にそれぞれ用いるパラメータがパラメータ記憶部304m,322m〜330mに記憶され、利用されるとした。しかし、検査画像処理部220内のメモリ要素に記憶されるデータはこれに限らない。例えば、一般にASICやFPGAの設計には機能拡張や不具合対応などのために随時改良が加えられるので、同じ機種の装置でも出荷時期によってASIC等のバージョンが異なる場合がある。このようなASIC等のバージョンの情報は、印刷結果の不良判定等の原因を特定する上で1つの重要な情報である。したがって、本実施形態では、検査画像処理部220を構成する各ASIC等の不揮発性メモリに、各ASIC等のバージョン情報を記憶しておく。   In the above example, parameters used for each image processing or processing for generating a signal such as a conveyance speed signal that is the basis of the image processing are stored in the parameter storage units 304m and 322m to 330m and used. He said. However, the data stored in the memory element in the inspection image processing unit 220 is not limited to this. For example, in general, ASIC and FPGA designs are improved as needed to expand functions and deal with problems. Therefore, there are cases in which versions of ASIC and the like differ depending on the shipping time even for devices of the same model. Such version information, such as ASIC, is one important piece of information for specifying the cause of print result failure determination or the like. Therefore, in this embodiment, version information of each ASIC or the like is stored in a non-volatile memory such as each ASIC that constitutes the inspection image processing unit 220.

以上、検査画像処理部220について説明した。次に、図8を参照して、原稿画像処理部210について説明する。図8に例示した原稿画像処理部210は、原稿画像データに対する画像処理として解像度変換を行う場合の例であり、解像度変換回路405,パラメータ記憶部405mを含んでいる。この場合、プリンタコントローラ20からは二値画像の原稿画像データが供給されているものとする。   The inspection image processing unit 220 has been described above. Next, the document image processing unit 210 will be described with reference to FIG. The document image processing unit 210 illustrated in FIG. 8 is an example in which resolution conversion is performed as image processing for document image data, and includes a resolution conversion circuit 405 and a parameter storage unit 405m. In this case, it is assumed that document image data of a binary image is supplied from the printer controller 20.

解像度変換回路405は、原稿画像データを、検査画像データと同じ解像度となるように解像度変換する回路である。一般に、原稿画像データは、用紙に印刷される画像なので400dpi(dot per inch)や600dpi等の比較的高解像度の画像であるのに対し、検査画像データは印刷に同期してリアルタイムで読み取って画像処理を施す必要があるため、比較的低解像度の画像である。このため、画素同士の照合を可能にするために、原稿画像データの解像度を下げて、検査画像データに合わせるのである。パラメータ記憶部405mには、検査画像データの解像度の値など、解像度変換のパラメータとなるデータが記憶されている。解像度変換回路405は、画像入力IF回路105を介して入力される制御データから、原稿画像データの解像度の値を取得し、この解像度の画像を検査画像データの解像度へと変換する。解像度変換の処理内容は周知なので説明は省略する。   The resolution conversion circuit 405 is a circuit that converts the resolution of document image data so that it has the same resolution as the inspection image data. In general, since the original image data is an image printed on paper, it is a relatively high resolution image such as 400 dpi (dot per inch) or 600 dpi, whereas the inspection image data is read in real time in synchronization with printing. Since the image needs to be processed, the image has a relatively low resolution. For this reason, the resolution of the document image data is lowered to match the inspection image data in order to make it possible to compare the pixels. The parameter storage unit 405m stores data serving as resolution conversion parameters such as the resolution value of the inspection image data. The resolution conversion circuit 405 acquires the resolution value of the document image data from the control data input via the image input IF circuit 105, and converts the image of this resolution into the resolution of the inspection image data. Since the processing contents of resolution conversion are well known, description thereof will be omitted.

以上では解像度変換を例示したが、原稿画像処理部210が実行する画像処理はこれに限るものではない。解像度変換以外の画像処理としては、例えば二値化がある。印刷検査のうち印字部分の欠落や汚れなどの判別は、二値化された原稿画像と検査画像とを比較することが有効な手法であるが、このような手法を用いる場合において原稿画像データが多値画像データの場合は、原稿画像処理部210は原稿画像データの二値化処理の機能を備えるようにする。   Although the resolution conversion has been exemplified above, the image processing executed by the document image processing unit 210 is not limited to this. An example of image processing other than resolution conversion is binarization. It is effective to compare the binarized document image with the inspection image to determine whether the printed part is missing or dirty in the print inspection. When such a method is used, the original image data is In the case of multi-valued image data, the document image processing unit 210 has a binarization processing function for document image data.

以上に説明した実施の形態は、あくまで例示のためのものにすぎず、本発明の範囲内で様々な変更が可能である。   The embodiment described above is merely an example, and various modifications can be made within the scope of the present invention.

例えば以上の例では、検査画像処理部220及び原稿画像処理部210が、すべての処理をハードウエア回路で実行する場合を例に取ったが、この代わりに、それらの処理のうちの一部又は全部をソフトウエアで実行することも考えられる。   For example, in the above example, the case where the inspection image processing unit 220 and the document image processing unit 210 execute all the processes by the hardware circuit is taken as an example. It is also conceivable that everything is executed by software.

また、以上の例では、印刷検査装置200は、検査画像データを原稿画像データと照合することで印刷結果の品質を評価したが、これは一つの例である。原稿画像データとの照合を行わずに、検査画像データのみから印刷検査を行う方法も考えられる。例えば、文字と罫線を主体とした帳票の印刷では、印刷される画像は基本的にエッジが明確であるのに対し、インク・トナー飛散等による汚れはエッジが不明確になることが多い。したがって、このような場合、汚れは検査画像の各部のエッジ強度を求めることでかなりの程度検出することができる。このように、検査画像に対する特徴計算により印刷品質を評価できる場合があり、このような場合にも本実施形態の方式が適用できる。   In the above example, the print inspection apparatus 200 evaluates the quality of the print result by comparing the inspection image data with the document image data, but this is one example. A method of performing a print inspection only from inspection image data without performing comparison with original image data is also conceivable. For example, in the printing of a form mainly composed of characters and ruled lines, the edge of an image to be printed is basically clear, but the stain due to ink / toner scattering often makes the edge unclear. Therefore, in such a case, the contamination can be detected to a considerable extent by obtaining the edge strength of each part of the inspection image. As described above, the print quality may be evaluated by the feature calculation for the inspection image, and the method of the present embodiment can be applied to such a case.

また、本実施形態では、1つのラインセンサにより画像を読み取る構成の場合について説明したが、複数のラインセンサを用いて画像を高速に読み取り、各画像を合成する高速画像読取装置について本発明を適用することができる。例えば、電話料金等の帳票印刷のように、短期間で大量の印刷を切れ目無く実行するような場合に上記の高速画像読取装置を用いる場合があるが、本発明は、ジョブを停止することなく濃度むらの補正を行うことができるので、このような高速画像読取装置に適用することで特に効果が顕著となる。   Further, in the present embodiment, the case of a configuration in which an image is read by one line sensor has been described. However, the present invention is applied to a high-speed image reading apparatus that reads images at high speed using a plurality of line sensors and combines the images. can do. For example, the above-described high-speed image reading apparatus may be used when a large amount of printing is performed in a short period of time, such as in the case of form printing such as telephone charges, but the present invention does not stop the job. Since density unevenness can be corrected, the effect is particularly remarkable when applied to such a high-speed image reading apparatus.

この場合、例えばシェーディング補正回路322,露光補正回路324、濃度むら補正回路325、位置ずれ補正回路326、倍率補正回路328、及び二値化回路330をラインセンサ毎に設け、それぞれで同様の処理を行えばよい。   In this case, for example, a shading correction circuit 322, an exposure correction circuit 324, a density unevenness correction circuit 325, a positional deviation correction circuit 326, a magnification correction circuit 328, and a binarization circuit 330 are provided for each line sensor, and the same processing is performed for each line sensor. Just do it.

また、複数のラインセンサを用いて画像を高速に読み取る高速画像読取装置では、各々のラインセンサで光源からの光の照射の程度が異なる場合があり、同じ濃度の画像を読み取った場合でも濃度差が生じる場合があるが、上記のように、ラインセンサ毎に濃度むら等の補正を行うことで、ラインセンサ間の濃度差を抑制することができる。   In addition, in a high-speed image reading apparatus that reads an image at high speed using a plurality of line sensors, the degree of light irradiation from the light source may be different in each line sensor, and even if an image with the same density is read, the density difference As described above, the density difference between the line sensors can be suppressed by correcting the density unevenness for each line sensor as described above.

なお、常時濃度むら補正を行うのではなく、ラインセンサ間の濃度差が画質に悪影響を与える所定閾値以上になった場合、例えば、各ラインセンサで読み取った白基準板の画素値の差が所定閾値以上の場合に、各ラインセンサで読み取った画像について濃度むら補正を各々行うようにしてもよい。   If the density difference between the line sensors is equal to or greater than a predetermined threshold value that adversely affects the image quality, instead of constantly correcting the density unevenness, for example, the difference in pixel values of the white reference plate read by each line sensor is predetermined. If the threshold value is equal to or greater than the threshold value, density unevenness correction may be performed on the image read by each line sensor.

本発明が適用される印刷システムの一例の概略構成を示すブロック図ある。1 is a block diagram illustrating a schematic configuration of an example of a printing system to which the present invention is applied. 検査画像処理部の実施例の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the Example of a test | inspection image process part. 用紙搬送系及び白基準板の平面図である。It is a top view of a paper conveyance system and a white reference plate. 画像イメージを示すイメージ図である。It is an image figure which shows a picture image. 1ライン分のライン画像の画素値を示すイメージ図である。It is an image figure which shows the pixel value of the line image for 1 line. 1ライン分のライン画像の画素値を示すイメージ図である。It is an image figure which shows the pixel value of the line image for 1 line. 1ライン分のライン画像の画素値を示すイメージ図である。It is an image figure which shows the pixel value of the line image for 1 line. 原稿画像処理部の実施例の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the Example of a manuscript image process part.

符号の説明Explanation of symbols

10 ホストコンピュータ
20 プリンタコントローラ
30A、30B 白基準板
34 画像イメージ
100 印刷装置
110 プリントエンジン
112 用紙搬送系
150 印刷済用紙(記録媒体)
200 印刷検査装置
260 読取装置
265 ラインセンサ
320 画像処理部
322 シェーディング補正回路
324 露光補正回路
325 濃度むら補正回路(補正手段)
326 位置ずれ補正回路
328 倍率補正回路
330 二値化回路
DESCRIPTION OF SYMBOLS 10 Host computer 20 Printer controller 30A, 30B White reference board 34 Image image 100 Printing apparatus 110 Print engine 112 Paper conveyance system 150 Printed paper (recording medium)
200 Print inspection device 260 Reading device 265 Line sensor 320 Image processing unit 322 Shading correction circuit 324 Exposure correction circuit 325 Density unevenness correction circuit (correction means)
326 Position shift correction circuit 328 Magnification correction circuit 330 Binary circuit

Claims (6)

所定方向に沿って受光素子が配列されたラインセンサと、
前記ラインセンサの読み取り領域のうち、少なくとも記録媒体に記録された画像を読み取る第1の読み取り領域以外の前記ラインセンサの両端の第2の読み取り領域に各々設けられた白基準板と、
前記第2の読み取り領域に対応した第2の受光素子により読み取られた前記第2の読み取り領域の画素値に基づいて、前記第1の読み取り領域に対応した第1の受光素子により読み取られた前記第1の読み取り領域の画素値をライン毎にリアルタイムで補正する補正手段と、
を備え、
前記補正手段は、読み取った2つの第2の読み取り領域の画素値のうち大きい方の画素値及び予め定めた階調範囲の最大値から求めた第1の補正率に応じて、前記第1の読み取り領域の画素値を補正する第1の補正手段と、前記2つの第2の読み取り領域の画素値のうち小さい方の画素値を前記第1の補正率により補正した後の画素値及び前記最大値から求めた第2の補正率と、前記第1の読み取り領域の前記所定方向における位置と、に応じて、前記第1の読み取り領域の前記第1の補正手段による補正後の画素値を補正する第2の補正手段と、を含む
画像読取装置。
A line sensor in which light receiving elements are arranged along a predetermined direction;
A white reference plate provided in each of the second reading areas at both ends of the line sensor other than the first reading area for reading at least an image recorded on the recording medium among the reading areas of the line sensor ;
Based on the pixel value of the second reading area read by the second light receiving element corresponding to the second reading area, the reading by the first light receiving element corresponding to the first reading area Correction means for correcting the pixel value of the first reading area for each line in real time;
With
The correction unit is configured to select the first correction factor according to a first correction factor obtained from a larger pixel value of the read two pixel values of the second reading region and a maximum value of a predetermined gradation range. A first correction unit that corrects a pixel value in the reading region; a pixel value after correcting a smaller pixel value of the pixel values in the two second reading regions by the first correction factor; and the maximum value The pixel value after correction by the first correction unit of the first reading area is corrected according to the second correction rate obtained from the value and the position of the first reading area in the predetermined direction. And a second correction unit .
前記ラインセンサを複数設けると共に、前記ラインセンサ毎に前記補正手段を備えたことを特徴とする請求項1載の画像読取装置。 It said line sensor with a plurality providing an image of claim 1 Symbol mounting characterized by comprising the correcting means for each of said line sensor reader. 複数のラインセンサにより各々読み取った前記第2の読み取り領域の画素値の差が所定閾値以上になった場合に、前記ラインセンサ毎に設けられた補正手段による補正を実行することを特徴とする請求項記載の画像読取装置。 The correction by a correction unit provided for each of the line sensors is executed when a difference between pixel values of the second reading areas read by a plurality of line sensors is equal to or greater than a predetermined threshold value. Item 3. The image reading apparatus according to Item 2 . 所定方向に沿って受光素子が配列されたラインセンサと、前記ラインセンサの読み取り領域のうち、少なくとも記録媒体に記録された画像を読み取る第1の読み取り領域以外の前記ラインセンサの両端の第2の読み取り領域に各々設けられた白基準板と、を備えた画像読取装置により実行される画像読取方法であって、
前記第2の読み取り領域に対応した第2の受光素子により読み取られた前記第2の読み取り領域の画素値に基づいて、前記第1の読み取り領域に対応した第1の受光素子により読み取られた前記第1の読み取り領域の画素値をライン毎にリアルタイムで補正するステップ
を含み、
前記補正するステップは、読み取った2つの第2の読み取り領域の画素値のうち大きい方の画素値及び予め定めた階調範囲の最大値から求めた第1の補正率に応じて、前記第1の読み取り領域の画素値を補正する第1の補正ステップと、前記2つの第2の読み取り領域の画素値のうち小さい方の画素値を前記第1の補正率により補正した後の画素値及び前記最大値から求めた第2の補正率と、前記第1の読み取り領域の前記所定方向における位置と、に応じて、前記第1の読み取り領域の前記第1の補正手段による補正後の画素値を補正する第2の補正ステップと、を含む
画像読取方法。
A line sensor in which light receiving elements are arranged along a predetermined direction; and a second sensor at both ends of the line sensor other than a first reading area for reading an image recorded on a recording medium among reading areas of the line sensor . An image reading method executed by an image reading device provided with a white reference plate provided in each reading area,
Based on the pixel value of the second reading area read by the second light receiving element corresponding to the second reading area, the reading by the first light receiving element corresponding to the first reading area step of correcting in real time the pixel value of the first read area for each line
Including
In the correcting step, the first correction rate is obtained according to a first correction factor obtained from a larger pixel value of the read pixel values of the second reading area and a maximum value of a predetermined gradation range. A first correction step for correcting the pixel value in the reading region of the first pixel, a pixel value after correcting the smaller pixel value of the pixel values in the two second reading regions with the first correction factor, and the In accordance with the second correction factor obtained from the maximum value and the position of the first reading area in the predetermined direction, the pixel value after correction by the first correction unit of the first reading area is determined. A second correction step of correcting the image.
前記ラインセンサを複数設けた場合において、前記ラインセンサ毎に前記補正するステップを実行することを特徴とする請求項記載の画像読取方法。 The image reading method according to claim 4 , wherein the correcting step is executed for each of the line sensors when a plurality of the line sensors are provided. 複数のラインセンサにより各々読み取った前記第2の読み取り領域の画素値の差が所定閾値以上になった場合に、前記ラインセンサ毎に前記補正するステップを実行することを特徴とする請求項記載の画像読取方法。 If the difference between the respective read pixel value of the second read area by a plurality of line sensors exceeds a predetermined threshold value, according to claim 5, wherein the performing the step of said correction for each of the line sensors Image reading method.
JP2005199092A 2005-07-07 2005-07-07 Image reading apparatus and image reading method Expired - Fee Related JP4517961B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005199092A JP4517961B2 (en) 2005-07-07 2005-07-07 Image reading apparatus and image reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005199092A JP4517961B2 (en) 2005-07-07 2005-07-07 Image reading apparatus and image reading method

Publications (2)

Publication Number Publication Date
JP2007019853A JP2007019853A (en) 2007-01-25
JP4517961B2 true JP4517961B2 (en) 2010-08-04

Family

ID=37756612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005199092A Expired - Fee Related JP4517961B2 (en) 2005-07-07 2005-07-07 Image reading apparatus and image reading method

Country Status (1)

Country Link
JP (1) JP4517961B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193429A (en) * 2008-02-15 2009-08-27 Mitsubishi Electric Corp Image reading device
JP5287442B2 (en) * 2009-04-07 2013-09-11 三菱電機株式会社 Image reading device
JP2013541909A (en) * 2010-10-01 2013-11-14 コンテックス・エー/エス Correction Method for Image Sensor Profile Variation
JP5767910B2 (en) * 2011-08-31 2015-08-26 京セラドキュメントソリューションズ株式会社 Document reading apparatus and image forming apparatus
JP2013106145A (en) 2011-11-11 2013-05-30 Fuji Xerox Co Ltd Reading apparatus
JP5905715B2 (en) * 2011-12-19 2016-04-20 理想科学工業株式会社 Image reading apparatus and image reading method
JP5865113B2 (en) 2012-02-20 2016-02-17 株式会社Pfu Image processing apparatus, image processing system, image processing method, and image processing program
JP6254896B2 (en) * 2014-04-30 2017-12-27 株式会社Screenホールディングス Image signal generation apparatus, image inspection apparatus, printing system, and image signal generation method
JP6610588B2 (en) * 2017-03-13 2019-11-27 コニカミノルタ株式会社 Image forming apparatus, image reading apparatus, program, image forming method, and image processing apparatus
EP3599094B1 (en) 2018-07-24 2024-05-08 Dover Europe Sàrl Visual verification system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03201773A (en) * 1989-12-28 1991-09-03 Fuji Xerox Co Ltd Multi-value picture input device
JPH0449777A (en) * 1990-06-18 1992-02-19 Fujitsu Ltd Light quantity fluctuation correcting circuit for original reader
JPH06284284A (en) * 1993-03-25 1994-10-07 Toshiba Corp Picture processor
JPH08336047A (en) * 1995-06-08 1996-12-17 Fuji Xerox Co Ltd Image reader
JP2000151934A (en) * 1998-11-13 2000-05-30 Pfu Ltd Picture data correction device
JP2000270172A (en) * 1999-03-15 2000-09-29 Sharp Corp Image reader and method for correcting light quantity of its reading light source
JP2001136383A (en) * 1999-11-05 2001-05-18 Sharp Corp Picture reader
JP2004173161A (en) * 2002-11-22 2004-06-17 Canon Inc Image reader

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03201773A (en) * 1989-12-28 1991-09-03 Fuji Xerox Co Ltd Multi-value picture input device
JPH0449777A (en) * 1990-06-18 1992-02-19 Fujitsu Ltd Light quantity fluctuation correcting circuit for original reader
JPH06284284A (en) * 1993-03-25 1994-10-07 Toshiba Corp Picture processor
JPH08336047A (en) * 1995-06-08 1996-12-17 Fuji Xerox Co Ltd Image reader
JP2000151934A (en) * 1998-11-13 2000-05-30 Pfu Ltd Picture data correction device
JP2000270172A (en) * 1999-03-15 2000-09-29 Sharp Corp Image reader and method for correcting light quantity of its reading light source
JP2001136383A (en) * 1999-11-05 2001-05-18 Sharp Corp Picture reader
JP2004173161A (en) * 2002-11-22 2004-06-17 Canon Inc Image reader

Also Published As

Publication number Publication date
JP2007019853A (en) 2007-01-25

Similar Documents

Publication Publication Date Title
JP4517961B2 (en) Image reading apparatus and image reading method
JP7363035B2 (en) Image inspection equipment, programs, image processing equipment, and image forming equipment
US9143629B2 (en) Systems and methods for streak detection in image array scanning
JP5971034B2 (en) Image inspection apparatus, image forming apparatus, image inspection method, and program
JP2014199244A (en) Image inspection device, image inspection system, and image inspection method
JP2013225839A (en) Image reading device and control method of image reading device
US10686945B2 (en) Diagnosis system, diagnosis method and storage medium
US8068243B2 (en) Image forming apparatus, image forming method and storage medium
KR20170123271A (en) Image forming apparatus, method for controlling image forming apparatus, image processing system, and program
JP4626151B2 (en) Printing inspection apparatus and method
KR101399789B1 (en) Image reading apparatus, method of controlling the apparatus and storage medium
JP5008918B2 (en) Image reading apparatus, image processing apparatus, image forming apparatus, right side of streak image detection method, and program
US8867094B2 (en) Printing system, image forming apparatus, and printing method for detecting image defects
JP6665544B2 (en) Inspection device, inspection system, inspection method and program
CN112565553A (en) Image inspection device, image forming apparatus, image inspection method, and program
JP2006060713A (en) Image forming apparatus
JP4415918B2 (en) Image processing method and apparatus
JPH0678147A (en) Image reader
JP2012078795A (en) Image forming apparatus
US11258920B2 (en) Image diagnostic device, failure diagnostic apparatus, and diagnostic method
US20210297537A1 (en) Image inspection device and saving processing method for captured image
JP6123540B2 (en) Processing apparatus, document reading apparatus, and image forming apparatus
JP7367461B2 (en) Image inspection equipment and image inspection system
JP7367460B2 (en) Image inspection equipment and image inspection system
JP7443719B2 (en) Image inspection equipment and image inspection system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100331

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

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

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

Free format text: PAYMENT UNTIL: 20130528

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4517961

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

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees