JP2013036815A - Inspection apparatus, inspection method, computer program - Google Patents

Inspection apparatus, inspection method, computer program Download PDF

Info

Publication number
JP2013036815A
JP2013036815A JP2011171974A JP2011171974A JP2013036815A JP 2013036815 A JP2013036815 A JP 2013036815A JP 2011171974 A JP2011171974 A JP 2011171974A JP 2011171974 A JP2011171974 A JP 2011171974A JP 2013036815 A JP2013036815 A JP 2013036815A
Authority
JP
Japan
Prior art keywords
image
skew
unit
original image
alignment
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.)
Withdrawn
Application number
JP2011171974A
Other languages
Japanese (ja)
Inventor
Kazuya Zeisho
和也 税所
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2011171974A priority Critical patent/JP2013036815A/en
Publication of JP2013036815A publication Critical patent/JP2013036815A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide image alignment means achieving both accuracy and excellent performance in a realtime inspection system for a printed matter in synchronization with printing.SOLUTION: An inspection system measures a skew angle through detecting a plurality of paper edges of a desired print document, extracts, for misalignment correction, feature points from print contents of print data and image data of the print data, and estimates a linear misalignment amount by fitting processing of respective feature points. At that time, the fitting processing can be accelerated by referencing the screw angle.

Description

本発明は、検品装置、検品方法、コンピュータプログラムに関するものである。   The present invention relates to an inspection apparatus, an inspection method, and a computer program.

商業印刷において従来から、オフセット製版印刷機を用いて少品種大量印刷のオフセット印刷が行われてきた。また、最近では、電子写真方式やインクジェット方式の画像形成装置などのデジタル印刷機の高速化、高画質化を受けて、オンデマンド印刷(プリント・オン・デマンド、POD)が注目されている。 上記のようなオフセット印刷やオンデマンド印刷において、印刷物に不具合がないかどうか検査する検品処理の自動化が行われている。   In commercial printing, conventionally, offset printing of a small quantity and mass printing has been performed using an offset plate-making printing machine. In recent years, on-demand printing (print-on-demand, POD) has attracted attention as digital printers such as electrophotographic and ink-jet image forming apparatuses become faster and have higher image quality. In offset printing and on-demand printing as described above, an inspection process for inspecting a printed matter for defects is automated.

従来から、検査対象の印刷物をカメラやラインセンサなどのセンサから画像メモリに取り込んで、予め基準として設定されている基準画像と比較することによって検品処理が行われてきた。この検品処理において、センサから取り込まれる対象画像が検査対象である印刷物の搬送時の斜行ズレ、センサの光学的なズレなどの各種ズレによって歪んでいるため、センサから読み込んだ対象画像をそのまま基準画像と比較するだけでは、検査精度が低い。従って、両画像の位置合わせを行う必要がある。   Conventionally, inspection processing has been performed by taking a printed material to be inspected from a sensor such as a camera or a line sensor into an image memory and comparing it with a reference image set in advance as a reference. In this inspection process, the target image captured from the sensor is distorted due to various misalignments such as skew during transport of the printed material to be inspected and the optical misalignment of the sensor. The inspection accuracy is low only by comparing with the image. Therefore, it is necessary to align both images.

特許文献1では、印刷物の傾きを計測し、計測された傾きを回転パラメータとする一次変換によって位置合わせを行う。また、特許文献2では、対象画像と基準画像を分割し、分割基準画像との間でパターンマッチング処理を行い、このパターンマッチング処理の結果に基づき、位置合わせを行う。   In Patent Document 1, the inclination of a printed material is measured, and alignment is performed by primary conversion using the measured inclination as a rotation parameter. Further, in Patent Document 2, the target image and the reference image are divided, pattern matching processing is performed between the divided reference images, and alignment is performed based on the result of the pattern matching processing.

特開平7−89063JP-A-7-89063 特開2008−064486JP2008-064486

斜行ズレや光学的なズレは歪みなどの非線形成分を含んでおり、画像領域によってズレ量が異なる。そのため、対象画像を局所的な画像情報から一律に一次変換して補正する、特許文献1に記載の方法では、位置合わせの精度が低い。また、特許文献2に記載の位置合わせ方法で補正されるのは、シフト(平行移動)のズレ量であり、回転ズレや拡大縮小によるズレ量を補正することが出来ず、位置合わせの精度が低い。   The skew shift and the optical shift include nonlinear components such as distortion, and the shift amount differs depending on the image area. Therefore, in the method described in Patent Document 1 in which the target image is uniformly converted and corrected from local image information uniformly, the accuracy of alignment is low. Further, what is corrected by the alignment method described in Patent Document 2 is a shift (parallel movement) shift amount, and the shift amount due to rotation or enlargement / reduction cannot be corrected. Low.

本発明は、回転ズレを考慮した画像間の位置合わせを行うことを目的とする。   An object of the present invention is to perform alignment between images in consideration of rotational misalignment.

本発明の検品装置は、元画像が印刷された印刷物を読み取った読み取り画像を取得する読み取り手段と、前記元画像を受信する受信手段と、前記印刷物の斜行の方向を示す斜行情報を取得する取得手段と、前記受信手段で受信された元画像からエッジ特徴を含むパッチ画像を抽出する抽出手段と、前記抽出手段で抽出されたパッチ画像を前記斜行情報に基づいて回転させ、当該回転されたパッチ画像に対応する前記読み取り画像の部分を探索することによって前記元画像の位置合わせを行う位置合わせ手段と、前記位置合わせ手段で位置合わせが行われた元画像と前記読み取り画像とを比較することで、前記印刷物の良否を判定する判定手段と、を有することを特徴とする。   The inspection apparatus of the present invention acquires a reading unit that acquires a read image obtained by reading a printed material on which an original image is printed, a receiving unit that receives the original image, and acquires skew information indicating a skew direction of the printed material. Obtaining means, extracting means for extracting a patch image including an edge feature from the original image received by the receiving means, rotating the patch image extracted by the extracting means based on the skew information, the rotation The alignment unit that aligns the original image by searching for the portion of the read image corresponding to the patch image that has been aligned, and the original image that has been aligned by the alignment unit and the read image are compared. And determining means for determining the quality of the printed matter.

印刷物の検品装置において、回転ズレを考慮した画像位置合わせ処理が可能となる。   In the inspection device for printed matter, it is possible to perform image alignment processing in consideration of rotational misalignment.

検品システムの構成を示すブロック図Block diagram showing the configuration of the inspection system 検品システムの構成図Inspection system configuration diagram 紙検知センサPaper detection sensor ラインセンサLine sensor 検品制御部ブロック図Inspection control block diagram 各画像データとパッチの説明図Illustration of each image data and patch 回転量見積もり手段の説明図Explanatory drawing of rotation amount estimation means 画像データの分割と分割された各ブロックのズレ量の説明図Explanatory drawing of division of image data and shift amount of each divided block リファレンス画像データとスキャン画像データの画像照合説明図Image verification diagram of reference image data and scanned image data 検品システムの処理のフローチャートFlow chart of inspection system processing 画像位置合わせ処理のフローチャートFlow chart of image alignment processing パッチ間の回転量推定処理のフローチャートFlow chart for estimating the amount of rotation between patches

(実施例1)
以下、本発明を実施するための形態について図面を用いて説明する。
Example 1
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

図1は本実施例における、印刷と同期した検品システム(インライン検品システム)の構成を示すブロック図である。検品システム1は、印刷装置部10、印刷原稿読取部500、検品制御部600、印刷原稿排紙部700、フィニッシャ部800、排紙部1000から構成され、不図示のPCとネットワークなどで接続されている。図10は、検品システム1における各処理部での処理フロー図である。検品制御部600は、図10に示される処理フローを実行する。   FIG. 1 is a block diagram showing the configuration of an inspection system (in-line inspection system) synchronized with printing in this embodiment. The inspection system 1 includes a printing apparatus unit 10, a printed document reading unit 500, an inspection control unit 600, a printed document discharge unit 700, a finisher unit 800, and a discharge unit 1000, and is connected to a PC (not shown) via a network. ing. FIG. 10 is a processing flowchart in each processing unit in the inspection system 1. The inspection control unit 600 executes the processing flow shown in FIG.

図2には、本実施例に係る検品システム1のハードウェア構成図が示されている。印刷装置部10は、画像読取部100、印刷装置操作部200、プリンタ部300、印刷装置制御部400から構成される。図10の処理フローについて図2を用いて説明する。   FIG. 2 is a hardware configuration diagram of the inspection system 1 according to the present embodiment. The printing apparatus unit 10 includes an image reading unit 100, a printing apparatus operation unit 200, a printer unit 300, and a printing apparatus control unit 400. The processing flow of FIG. 10 will be described with reference to FIG.

ユーザは、印刷装置操作部200(UI)を用いて、印刷装置部10で実行する印刷ジョブの設定を行う(S100)。印刷ジョブには、後述の印刷原稿制御部における排紙モードの設定情報(排紙設定値)やフィニッシャ部800のフィニシング処理の設定情報(フィニシング設定値)が含まれている。また、この時、検品制御部600での印刷物の検品精度の設定もUI上で行われる。   The user sets a print job to be executed by the printing apparatus unit 10 using the printing apparatus operation unit 200 (UI) (S100). The print job includes discharge mode setting information (discharge setting value) in the print document control unit, which will be described later, and finishing process setting information (finishing setting value) in the finisher unit 800. At this time, the inspection control unit 600 also sets the inspection accuracy of the printed matter on the UI.

次に、印刷装置制御部400は、ステップS100で設定された印刷ジョブの実行制御を行い、設定された印刷ジョブと検品精度の設定情報(検品設定値)を検品制御部600へ送信し、印刷ジョブの各設定値をフィニッシャ部800へ送信する。(S101、S102)。本実施例において、検品設定値は、検査結果が良品判定であるか不良判定であるかを判定するための閾値とユーザが設定する各項目の設定値である。この閾値には、濃度差分、欠陥画像サイズといった項目がある。ユーザの設定する項目は、汚れや擦れ、スジといった検出対象欠陥の選択や、検査する上での解像度といった検査レベルの設定などがある。   Next, the printing apparatus control unit 400 performs execution control of the print job set in step S100, and transmits the set print job and inspection accuracy setting information (inspection setting value) to the inspection control unit 600 for printing. Each setting value of the job is transmitted to the finisher unit 800. (S101, S102). In the present embodiment, the inspection setting value is a threshold value for determining whether the inspection result is a non-defective product determination or a defective determination, and a setting value of each item set by the user. The threshold includes items such as density difference and defect image size. Items set by the user include selection of defects to be detected such as dirt, rubbing, and streaks, and setting of inspection levels such as resolution for inspection.

画像読取部100は、原稿搬送装置110で搬送された原稿画像を読み取る。原稿搬送装置110は、原稿トレイ111上にセットされた原稿を先頭ページから順に1枚ずつ搬送し、湾曲したパスを介して原稿台ガラス114の上へと搬送する。片面原稿を読取る方法としては、二種類の方法がある。まず一つ目の方法は、原稿台ガラス114上の読取位置R1へ原稿の後端を搬送し停止させ、スキャナユニット121を左から右へ移動させることにより、原稿の読取りを行う原稿固定読取モードがある。二つ目の方法は、原稿を一定の読取り速度で読取位置R1へ搬送し、スキャナユニット121を読取位置R1で固定したまま原稿の読取りを行う原稿搬送読取モードがある。前述した片面原稿を読取る二種類の方法では、読取った原稿が排紙トレイ112に排出される。両面原稿を読取る方法としては、スキャナユニット121で表面を読取り、原稿搬送装置110内に配置した光学ユニット113を使用して裏面を読取る方法がある。光学ユニット113内には図示しないイメージセンサおよび光源等が配置されている。   The image reading unit 100 reads a document image conveyed by the document conveying device 110. The document conveying device 110 conveys the documents set on the document tray 111 one by one from the first page in order, and conveys them onto the document table glass 114 through a curved path. There are two methods for reading a single-sided original. The first method is a document fixed reading mode in which a document is read by transporting and stopping the trailing edge of the document to the reading position R1 on the platen glass 114 and moving the scanner unit 121 from left to right. There is. The second method includes a document transport reading mode in which the document is transported to the reading position R1 at a constant reading speed and the document is read while the scanner unit 121 is fixed at the reading position R1. In the above-described two methods for reading a single-sided original, the read original is discharged to the paper discharge tray 112. As a method of reading a double-sided document, there is a method of reading the front surface with the scanner unit 121 and reading the back surface using the optical unit 113 disposed in the document conveying device 110. In the optical unit 113, an image sensor and a light source (not shown) are arranged.

レンズ122を介してイメージセンサ123により読取られた原稿の画像は、画像処理されて記憶装置430に格納されるとともに、印刷装置制御部400に転送される。印刷装置コントローラ部410は、プリンタ部300を制御するプリンタ制御部301と通信を行い、記憶装置430に格納されている画像データをシートに印刷する。また、PC2からPDLデータが入力された場合に、RIP部でRIP(Raster Image Processor)処理を施す(S103)。   An image of a document read by the image sensor 123 via the lens 122 is subjected to image processing, stored in the storage device 430, and transferred to the printing device control unit 400. The printing device controller unit 410 communicates with the printer control unit 301 that controls the printer unit 300 to print the image data stored in the storage device 430 on a sheet. When PDL data is input from the PC 2, the RIP unit performs RIP (Raster Image Processor) processing (S103).

RIPデータは記憶装置430に格納され、プリンタ制御部301と通信を行い、画像データをシートに印刷する(S104)。プリンタ制御部301は、画像信号に応じたレーザ光を出力する。このレーザ光が感光ドラム302に照射されると、感光ドラム302上には静電潜像が形成される。感光ドラム302上の静電潜像は現像器303により現像され、感光ドラム302上の現像剤はカセット311、312、手差し給紙部313のいずれかから給送されたシートに転写部306で転写される。現像剤が転写されたシートは定着部304に導かれると、現像剤の定着処理が行われる。   The RIP data is stored in the storage device 430, communicates with the printer control unit 301, and prints the image data on a sheet (S104). The printer control unit 301 outputs laser light corresponding to the image signal. When this laser light is irradiated onto the photosensitive drum 302, an electrostatic latent image is formed on the photosensitive drum 302. The electrostatic latent image on the photosensitive drum 302 is developed by the developing unit 303, and the developer on the photosensitive drum 302 is transferred by the transfer unit 306 to a sheet fed from one of the cassettes 311, 312 and the manual sheet feeding unit 313. Is done. When the sheet onto which the developer has been transferred is guided to the fixing unit 304, a fixing process for the developer is performed.

そして印刷されたシートは印刷装置部10から排出されて印刷原稿読取部500へ搬送される。また、このときに印刷装置コントローラ部410は、印刷画像の元となったデジタルデータ(例えばRIPデータ)とジョブの属性情報を検品制御部600へ送信する(S105)。定着部304を通過したシートを、図示しないフラッパにより、一旦、パス307からパス310に導き、シートの後端がパス307を抜けた後、シートをスイッチバックさせてパス308から排出ローラ305に導く。これにより、現像剤が転写された面を下向きの状態(フェイスダウン)にして排出ローラ305によりプリンタ部300から排出することが可能である。これを反転排紙という。このように、フェイスダウンで排出することにより、原稿搬送装置(画像読取部)100を用いて複数枚の原稿を読取った画像をプリントする場合など、先頭ページから正しいページ順で画像形成を行うことが可能である。なお、手差し給紙部313からOHPシートなどの硬いシートに画像形成を行う場合、パス307に導くことなく、現像剤が転写された面を上向きの状態(フェイスアップ)のままで排出ローラ305から排出する。また、シートの両面に画像形成を行う場合、シートを定着部304からパス307、パス310に導き、シートの後端がパス307を抜けた直後にシートをスイッチバックさせ、図示しないフラッパにより両面搬送パス309に導く。   The printed sheet is discharged from the printing apparatus unit 10 and conveyed to the print document reading unit 500. At this time, the printing apparatus controller unit 410 transmits digital data (for example, RIP data) that is the basis of the print image and job attribute information to the inspection control unit 600 (S105). The sheet that has passed through the fixing unit 304 is once guided from the path 307 to the path 310 by a flapper (not shown), and after the trailing edge of the sheet has passed through the path 307, the sheet is switched back and guided from the path 308 to the discharge roller 305. . As a result, the surface onto which the developer has been transferred can be turned downward (face down) and discharged from the printer unit 300 by the discharge roller 305. This is called reverse paper discharge. In this way, by discharging face down, image formation is performed in the correct page order from the first page, such as when printing an image obtained by reading a plurality of documents using the document conveying device (image reading unit) 100. Is possible. When an image is formed on the hard sheet such as an OHP sheet from the manual sheet feeding unit 313, the image is not guided to the pass 307, and the surface onto which the developer is transferred is left facing upward (face up) from the discharge roller 305. Discharge. In addition, when forming an image on both sides of a sheet, the sheet is guided from the fixing unit 304 to pass 307 and pass 310, and the sheet is switched back immediately after the rear end of the sheet passes through the path 307, and is conveyed on both sides by a flapper (not shown). Guide to path 309.

両面搬送パス309に導かれたシートに対し、再度、転写部306で静電潜像が転写され、定着部304で定着処理が施される。このように、転写部306から両面搬送パス309を経由して再び転写部306に戻る一巡のパスの中に、A4、B5等のハーフサイズ用紙が5枚入った状態でも搬送可能なように、パス長、ローラ配置、駆動系の分割がなされている。なお、これらの処理による排出ページ順は、奇数ページが下向きになるように排出されるので、両面コピー時のページ順を合わせることができる。排出ローラ305から排出された印刷出力物(印刷物)20は印刷原稿読取部500に送り込まれる。   The electrostatic latent image is transferred again to the sheet guided to the duplex conveyance path 309 by the transfer unit 306 and subjected to fixing processing by the fixing unit 304. In this way, it is possible to carry even a state where five half-size sheets such as A4, B5, etc. are contained in one pass that returns from the transfer unit 306 to the transfer unit 306 via the duplex conveyance path 309 again. The path length, roller arrangement, and drive system are divided. Note that the discharge page order by these processes is discharged so that odd-numbered pages face downward, so that the page order during duplex copying can be matched. The printed output (printed matter) 20 discharged from the discharge roller 305 is sent to the print original reading unit 500.

印刷原稿読取部500は、印刷原稿読取コントローラ部510、紙検知センサ511、ラインセンサ512を有する。まず、紙検知センサ511で送りこまれた印刷出力物20の検知を行う(S106)。紙検知センサ511は、図3に示すように、黒い紙搬送ベルト(搬送手段)513に対して白の印刷出力物20の紙端のエッジで印刷出力物20の有無を検知する。この時、印刷出力物20の有無を検知すると同時に、印刷出力物20の先頭の紙端の2つの隅の通過時間を計測する。   The print document reading unit 500 includes a print document reading controller unit 510, a paper detection sensor 511, and a line sensor 512. First, the print output 20 fed by the paper detection sensor 511 is detected (S106). As shown in FIG. 3, the paper detection sensor 511 detects the presence or absence of the print output 20 at the edge of the paper end of the white print output 20 with respect to the black paper transport belt (transport means) 513. At this time, the presence / absence of the printed output 20 is detected, and at the same time, the passage times of the two corners of the leading paper edge of the printed output 20 are measured.

印刷原稿読取コントローラ部510は、ステップS106で計測された通過時間および紙搬送ベルト513の搬送速度から、図3に示す印刷出力物20の斜行角度Θ514を計算する。この斜行角度Θ514は、斜行情報であり、印刷出力物20の斜行角度だけでなく、斜行方向も示す。のこのとき印刷原稿読取コントローラ部510は、斜行角度Θ514の情報を検品制御部600へ送信する(S107)。   The print original reading controller unit 510 calculates the skew angle Θ 514 of the printed output 20 shown in FIG. 3 from the passage time measured in step S106 and the conveyance speed of the paper conveyance belt 513. This skew angle Θ 514 is skew information, and indicates not only the skew angle of the printed output 20 but also the skew direction. At this time, the print document reading controller unit 510 transmits information on the skew angle Θ 514 to the inspection control unit 600 (S107).

次に、紙の有無を検知した信号をトリガーに、印刷原稿読取コントローラ部510がラインセンサ512を制御して、図4に示すように印刷出力物20の画像データを読取る(S108)。印刷原稿読取コントローラ部510は、読取った画像データを、検品制御部600に送信する。画像データの読取後、印刷出力物20は印刷原稿排紙部700に搬送される。   Next, the print original reading controller unit 510 controls the line sensor 512 using a signal that detects the presence or absence of paper as a trigger, and reads the image data of the printed output 20 as shown in FIG. 4 (S108). The print document reading controller unit 510 transmits the read image data to the inspection control unit 600. After reading the image data, the printed output 20 is conveyed to the print document discharge unit 700.

検品制御部600は、図5に示すように、検品コントローラ部610、画像処理部620、特徴点抽出部630、記憶装置640、位置合わせ処理部(位置合わせ手段)650、比較判定部(判定手段)660を有する。また、検品コントローラ部610は、画像処理部620、特徴点抽出部630、記憶装置640、位置合わせ処理部650、比較判定部660、印刷装置コントローラ部410、印刷原稿読取コントローラ部510、印刷原稿排紙コントローラ部710と接続する。   As shown in FIG. 5, the inspection control unit 600 includes an inspection controller unit 610, an image processing unit 620, a feature point extraction unit 630, a storage device 640, an alignment processing unit (alignment unit) 650, a comparison determination unit (determination unit). 660. The inspection controller unit 610 includes an image processing unit 620, a feature point extraction unit 630, a storage device 640, an alignment processing unit 650, a comparison determination unit 660, a printing device controller unit 410, a print document reading controller unit 510, a print document discharge unit. Connect to the paper controller unit 710.

検品コントローラ部610は、ユーザがステップS101にて印刷装置操作部200で設定した印刷ジョブの各設定値や検品設定値を受信して記憶装置640に格納する(S109)。続いて、検品コントローラ部610は、印刷装置コントローラ部410から、印刷画像の元となったRIPデータなどのデジタルデータ(リファレンス画像データ)、ジョブの属性情報、を受信して記憶装置640に格納する(S110)。なお、ここで検品コントローラ部610は、元画像(リファレンス画像データ)を受信する受信手段として機能する。リファレンス画像データ900の例を図6(a)に示す。リファレンス画像データには、印刷装置部10で行うジョブがコピージョブの場合は、イメージセンサ123で読取られた原稿の画像データ(ビットマップデータ)を用い、PDLジョブの場合はPDLデータがRIP処理されたRIPデータを用いる。何れの画像データも検品コントローラ部610で受信される。   The inspection controller unit 610 receives each setting value and inspection setting value of the print job set by the user in the printing apparatus operation unit 200 in step S101 and stores them in the storage device 640 (S109). Subsequently, the inspection controller unit 610 receives digital data (reference image data) such as RIP data that is the basis of the print image, and job attribute information from the printing device controller unit 410 and stores them in the storage device 640. (S110). Here, the inspection controller unit 610 functions as a receiving unit that receives an original image (reference image data). An example of the reference image data 900 is shown in FIG. As the reference image data, when the job performed by the printing apparatus unit 10 is a copy job, image data (bitmap data) of a document read by the image sensor 123 is used, and in the case of a PDL job, the PDL data is subjected to RIP processing. RIP data is used. Any image data is received by the inspection controller unit 610.

また検品コントローラ部610は、印刷原稿読取コントローラ部510から、ステップS107において計算した印刷出力物20の斜行角度Θ514の情報を受信して記憶装置640に格納する(S111)。ここで、検品コントローラ部610は印刷物(印刷出力物20)の斜行情報を取得する取得手段として機能する。   Further, the inspection controller unit 610 receives information on the skew angle Θ 514 of the printed output 20 calculated in step S107 from the print document reading controller unit 510 and stores it in the storage device 640 (S111). Here, the inspection controller unit 610 functions as an acquisition unit that acquires skew information of the printed matter (printed output matter 20).

さらに検品コントローラ部610は、ステップS108においてラインセンサ512が読取った印刷原稿画像データ(スキャン画像データ)を受信して記憶装置640に格納する(S112)。ここで検品コントローラ部610は、印刷物を読み取った読み取り画像(スキャン画像データ)を取得する読み取り手段として機能する。スキャン画像データ910の例を図6(b)に示す。   Further, the inspection controller unit 610 receives the print original image data (scanned image data) read by the line sensor 512 in step S108 and stores it in the storage device 640 (S112). Here, the inspection controller unit 610 functions as a reading unit that acquires a read image (scanned image data) obtained by reading a printed matter. An example of the scanned image data 910 is shown in FIG.

また、検品コントローラ部610は、格納されたリファレンス画像データとスキャン画像データを用いて後述の処理S113〜S115の画像検査処理を制御し、その結果を印刷原稿排紙コントローラ部710に送信する(S116)。また、S116にて、検品コントローラ部610は、S109で受信され記憶装置640に格納された印刷ジョブの各設定値を印刷原稿排紙コントローラ部710に送信する。   Further, the inspection controller unit 610 controls image inspection processing of processing S113 to S115 described later using the stored reference image data and scan image data, and transmits the result to the print document discharge controller unit 710 (S116). ). In step S116, the inspection controller unit 610 transmits each set value of the print job received in step S109 and stored in the storage device 640 to the print document discharge controller unit 710.

画像処理部620は、スキャン画像データとリファレンス画像データについて、比較、照合をするための前処理として画像処理を行う。具体的には、デスクリーン処理、解像度変換処理、色空間変換処理を行う。   The image processing unit 620 performs image processing as preprocessing for comparing and collating the scanned image data and the reference image data. Specifically, descreen processing, resolution conversion processing, and color space conversion processing are performed.

特徴点抽出部630では、画像処理部620で画像処理されたリファレンス画像データ900の画像の特徴点901を抽出する(S113)。ここでいう特徴点901とは図6(c)に示すような画像データのコーナーエッジ点(図6(c)の印字画像「A」の角に相当)を意味し、2方向のエッジベクトル(エッジ特徴)を持つ。このエッジ特徴を含む複数画素×複数画素の正方形のパッチ画像902をリファレンス画像データ900から抽出する。抽出方法は、例えばHarrisとStephensのコーナー検出アルゴリズムなど一般的な手法が挙げられる。ただし、抽出方法は、これに限られない。   The feature point extraction unit 630 extracts the feature point 901 of the image of the reference image data 900 image-processed by the image processing unit 620 (S113). The feature point 901 here means a corner edge point (corresponding to the corner of the print image “A” in FIG. 6C) of the image data as shown in FIG. Edge feature). A square patch image 902 having a plurality of pixels and a plurality of pixels including the edge feature is extracted from the reference image data 900. As an extraction method, for example, a general method such as a corner detection algorithm of Harris and Stephens can be used. However, the extraction method is not limited to this.

位置合わせ処理部650の行うS114の位置合わせ処理について、処理フローを図11に示す。   FIG. 11 shows a processing flow of the alignment processing in S114 performed by the alignment processing unit 650.

まず、位置合わせ処理部650は、抽出されたリファレンス画像データ900内の特徴点901を含むパッチ画像902を用いて、スキャン画像データ910内の対応するパッチ画像912(図6(d))を探索することで、両パッチ画像間のシフト量(平行移動量)を計算して求める(S1141)。求めたシフト量は、後述のS1142にてアフィン変換パラメータを計算する際に用いられる。シフト量は以下の方法で求める。なお、S1141において求まるシフト量は1つだけでなく、リファレンス画像データ中の複数のパッチ画像に対して求まる複数のシフト量である。   First, the alignment processing unit 650 searches for a corresponding patch image 912 (FIG. 6D) in the scan image data 910 using the patch image 902 including the feature point 901 in the extracted reference image data 900. Thus, the shift amount (parallel movement amount) between both patch images is calculated and obtained (S1141). The obtained shift amount is used when affine transformation parameters are calculated in S1142 described later. The shift amount is obtained by the following method. Note that the shift amount obtained in S1141 is not only one, but a plurality of shift amounts obtained for a plurality of patch images in the reference image data.

まず、位置合わせ処理部650は、特徴点抽出部630の抽出したパッチ画像902に対して、所定の角度(例えば0.1°)の回転処理を施す。位置合わせ処理部650は、この回転処理が施された画像と、パッチ画像902の位置に対応するスキャン画像データ910におけるパッチ画像との相関を求めて位置合わせを行う。相関を求める方法の一つとして、例えば、フーリエ変換を利用してパッチ画像間の相関を求める方法がある。具体的には、両パッチ画像に対してフーリエ変換を施して積をとり、この積に対して逆フーリエ変換を施すことで、両パッチ画像間の相関を求める。このようにして求まった相関は、パッチ画像間のそれぞれのシフト量とそのシフト量に対応した相関係数との相関関数として求まる。この相関関数において、パッチ画像どうしが一致するようなシフト量に対応した相関係数は、高い数値を有する。   First, the alignment processing unit 650 performs a rotation process of a predetermined angle (for example, 0.1 °) on the patch image 902 extracted by the feature point extraction unit 630. The alignment processing unit 650 performs alignment by obtaining a correlation between the image subjected to the rotation processing and the patch image in the scan image data 910 corresponding to the position of the patch image 902. As one of the methods for obtaining the correlation, for example, there is a method for obtaining the correlation between patch images using Fourier transform. Specifically, a Fourier transform is performed on both patch images to obtain a product, and an inverse Fourier transform is performed on the product to obtain a correlation between both patch images. The correlation obtained in this way is obtained as a correlation function between each shift amount between patch images and a correlation coefficient corresponding to the shift amount. In this correlation function, the correlation coefficient corresponding to the shift amount so that the patch images match each other has a high numerical value.

そして、位置合わせ処理部650は、この相関に基づいて、パッチ画像902に対応するパッチ画像(スキャン画像データ910における部分画像)912を探索し、パッチ画像902、912の中心座標の平行移動量をシフト量として求める。このような探索の結果、見つかったパッチ画像912は、位置ずれしたパッチ画像902がスキャンされたものである。なお、以降において、位置ずれしたパッチ画像902と見つかったパッチ画像912がほぼ一致していることを、フィッティングしていると称する。このシフト量の算出をリファレンス画像データ900中の他の複数の特徴点を含むパッチ画像に対しても行い、複数のパッチ画像間のシフト量を求める。以上がパッチ画像間のシフト量を求める方法である。なお、パッチ画像間の一致するようなシフト量を求めるために、フーリエ変換を利用して相関係数を求めたが、パッチ画像どうしが一致するようなシフト量を求める方法であればこの方法に限らなくても良い。   Based on this correlation, the alignment processing unit 650 searches for a patch image (partial image in the scanned image data 910) 912 corresponding to the patch image 902, and determines the parallel movement amount of the center coordinates of the patch images 902 and 912. Obtained as a shift amount. As a result of such a search, the patch image 912 that has been found is a scanned image of the patch image 902 that has been displaced. In the following, the fact that the misaligned patch image 902 and the found patch image 912 substantially match is referred to as fitting. The shift amount is calculated for a patch image including a plurality of other feature points in the reference image data 900, and a shift amount between the plurality of patch images is obtained. The above is the method for obtaining the shift amount between patch images. In addition, in order to obtain a shift amount that matches between patch images, a correlation coefficient is obtained using Fourier transform, but this method is applicable to any method that obtains a shift amount that matches patch images. It does not have to be limited.

以上のパッチ画像間のシフト量を計算する際に、パッチ画像902に対して回転処理を施しているが、これについて図7、図12を用いて詳述する。   When calculating the shift amount between the above patch images, the patch image 902 is rotated, which will be described in detail with reference to FIGS.

従来の回転処理を図7(a)に示す。従来では、リファレンス画像データのパッチ画像902に対して施される回転処理は、時計周りと反時計回りに交互に回転させるものであった。この時の回転処理の回転角は例えば0.1°ずつ大きくしていきフィッティング処理を行う。なお、フィッティング処理とは、フィッティングするようなパッチ画像902とパッチ画像912を見つける処理である。このフィッティング処理は、パッチ画像902に回転処理の施した画像(回転後の元画像)とスキャン画像データ中のパッチ画像の相関関数を求め、この相関関数における相関係数が相関の閾値以上となるパッチ画像912を探索する処理である。本実施例における相関関数の求め方は、上述した通りである。この相関係数が相関の閾値以上となる場合、フィッティング処理(位置合わせ処理)を完了し、閾値未満である場合、パッチ画像902をさらに回転させてフィッティング処理を継続する。相関係数が相関の閾値以上であることを、相関が相関の閾値以上であるともいい、相関係数が相関の閾値未満であることを、相関が相関の閾値未満であるともいう。   A conventional rotation process is shown in FIG. Conventionally, the rotation process performed on the patch image 902 of the reference image data is to rotate the clock image alternately and counterclockwise. At this time, the rotation angle of the rotation process is increased by, for example, 0.1 °, and the fitting process is performed. The fitting process is a process for finding a patch image 902 and a patch image 912 to be fitted. In this fitting process, a correlation function between an image obtained by rotating the patch image 902 (original image after rotation) and the patch image in the scanned image data is obtained, and the correlation coefficient in this correlation function is equal to or greater than the correlation threshold. This is processing for searching for a patch image 912. The method for obtaining the correlation function in the present embodiment is as described above. When the correlation coefficient is equal to or greater than the correlation threshold, the fitting process (positioning process) is completed. When the correlation coefficient is less than the threshold, the patch image 902 is further rotated and the fitting process is continued. That the correlation coefficient is equal to or greater than the correlation threshold is also referred to as the correlation is equal to or greater than the correlation threshold, and that the correlation coefficient is less than the correlation threshold is also referred to as the correlation is less than the correlation threshold.

図7(a)の例だと914〜917と4回の回転処理を行った後、パッチ画像912が求まることになる。なお、スキャン画像データ910中のパッチ画像912の中心から延びる矢印は、パッチ画像902の特徴点901に対応したエッジベクトルに対応するものである。   In the example of FIG. 7A, the patch image 912 is obtained after performing rotation processing 914 to 917 four times. An arrow extending from the center of the patch image 912 in the scanned image data 910 corresponds to an edge vector corresponding to the feature point 901 of the patch image 902.

一方、図7(b)、図12の処理フローは本実施例の手法であり、まず、位置合わせ処理部650は、記憶装置640に格納されている印刷出力物20の斜行角度Θ514を参照し、フィッティング処理のための回転方向を決定する(S11411)。   On the other hand, the processing flow of FIG. 7B and FIG. 12 is the method of the present embodiment. First, the alignment processing unit 650 refers to the skew angle Θ 514 of the printed output 20 stored in the storage device 640. Then, the rotation direction for the fitting process is determined (S11411).

本実施例では、フィッティング処理での回転方向の決定は、位置合わせ処理部650が斜行角度Θ514を参照し、印刷出力物20の斜行方向が時計回り方向か否かで判断する(S11413)。例えば、斜行角度Θ514の値から印刷出力物20が時計周りに斜行している場合、パッチ画像902を所定の角度(0.1°)ずつ時計周りにのみに回転させて、フィッティング処理を行う(S11414、S11416)。図7(b)の例だと918〜919と2回の回転処理で済むことになり、フィッティング処理の処理時間が低減される。印刷出力物20が反時計回りに斜行している場合は、パッチ画像902を0.1°ずつ反時計周りにのみに回転させて、フィッティング処理を行う(S11415、S11416)。すなわち、パッチ画像902は、斜行情報の示す斜行方向に回転される。   In the present embodiment, the rotation direction in the fitting process is determined by the alignment processing unit 650 referring to the skew angle Θ 514 and determining whether the skew direction of the printed output 20 is the clockwise direction (S11413). . For example, when the print output 20 is skewed clockwise from the value of the skew angle Θ 514, the fitting process is performed by rotating the patch image 902 clockwise only by a predetermined angle (0.1 °). It performs (S11414, S11416). In the example of FIG. 7B, two rotation processes 918 to 919 are sufficient, and the processing time of the fitting process is reduced. When the printed output 20 is skewed counterclockwise, the patch image 902 is rotated only counterclockwise by 0.1 ° to perform the fitting process (S11415, S11416). That is, the patch image 902 is rotated in the skew direction indicated by the skew information.

以上の処理により従来よりも高速にフィッティング処理が完了する。   With the above process, the fitting process is completed at a higher speed than in the prior art.

次に位置合わせ処理部650は、S1141で求まった複数のシフト量に基づいて、リファレンス画像データ900とスキャン画像データ910との間の画像全体でのアフィン変換パラメータを計算する(S1142)。アフィン変換パラメータは、画像の回転量、拡大縮小率、シフト量で表現される。アフィン変換(2次元アフィン変換)は、入力画像gi(x、y)に対し、出力画像go(X、Y)とすると以下の式で表わされる。なお、アフィン変換パラメータは、反時計周りの回転量をΓ、拡大縮小率をk、主走査方向および副走査方向のシフト量をsおよびtで表される。   Next, the alignment processing unit 650 calculates affine transformation parameters for the entire image between the reference image data 900 and the scanned image data 910 based on the plurality of shift amounts obtained in S1141 (S1142). The affine transformation parameters are expressed by the image rotation amount, enlargement / reduction ratio, and shift amount. The affine transformation (two-dimensional affine transformation) is expressed by the following expression when the input image gi (x, y) is the output image go (X, Y). The affine transformation parameter is represented by Γ for the counterclockwise rotation amount, k for the enlargement / reduction ratio, and s and t for the shift amounts in the main scanning direction and the sub scanning direction.

Figure 2013036815
Figure 2013036815

位置合わせ処理部650について、次にリファレンス画像データ900とスキャン画像データ910をブロック単位に分割する(S1143)。図8に示した例ではページ画像データを3×5のブロックに分割する。位置合わせ処理部650は、前述の画像全体のアフィン変換パラメータを用いて、各ブロックのパッチ画像に対してアフィン変換を行い、パッチ画像ごとにアフィン変換前後のシフト量を求める。そしてこのシフト量とS1141で求まったシフト量との差(非線形歪み量)をパッチ画像ごとに求めて、これに基づき各ブロックの非線形歪み量を求める。パッチ画像を有さないブロックに対してはパッチ画像を有するブロックの非線形歪み量を補間することで、当該ブロックの非線形歪み量を求める(S1144)。図8(b)に各ブロックの非線形歪み量を示す。ここでは、各ブロックの非線形歪み量を簡易的にベクトルで表現している。この求まった非線形歪み量から、リファレンス画像データ900をスキャン画像データ910にブロックごとに位置合わせ処理を行う。   Next, the registration processing unit 650 divides the reference image data 900 and the scanned image data 910 into blocks (S1143). In the example shown in FIG. 8, the page image data is divided into 3 × 5 blocks. The alignment processing unit 650 performs affine transformation on the patch image of each block using the above-described affine transformation parameters of the entire image, and obtains a shift amount before and after the affine transformation for each patch image. Then, a difference (nonlinear distortion amount) between the shift amount and the shift amount obtained in S1141 is obtained for each patch image, and based on this, the nonlinear distortion amount of each block is obtained. For a block having no patch image, the nonlinear distortion amount of the block having the patch image is interpolated to obtain the nonlinear distortion amount of the block (S1144). FIG. 8B shows the nonlinear distortion amount of each block. Here, the amount of nonlinear distortion of each block is simply expressed as a vector. Based on the obtained non-linear distortion amount, the reference image data 900 is aligned with the scanned image data 910 for each block.

比較判定部660では、位置合わせ処理部650にてブロック単位で位置合わせされたリファレンス画像データ940とスキャン画像データ910との画像照合を行う(S115)。   The comparison determination unit 660 performs image collation between the reference image data 940 and the scan image data 910 that have been aligned in block units by the alignment processing unit 650 (S115).

画像照合では、図9に示すように、スキャン画像データ910の1画素を注目画素920とする。注目画素920と、注目画素920と同一座標の位置合わせ処理後のリファレンス画像データ940上の画素を中心とした含む正方領域内の各画素(参照画素930)と、画素比較を行う。ある参照画素930との差分データが一定値未満であれば、スキャン画像データ910の注目画素920が、位置合わせ処理後のリファレンス画像データ940の正方領域に存在し、注目画素が正しいデータであると判断する。全ての参照画素930との差分データが一定値以上であれば、スキャン画像データ910の注目画素920が、位置合わせ処理後のリファレンス画像データ940の正方領域に存在せず、注目画素が欠陥データであると判断する。このような画像照合を、スキャン画像データ910の全ての画素について行う。   In the image collation, as shown in FIG. 9, one pixel of the scan image data 910 is set as a target pixel 920. Pixel comparison is performed between the target pixel 920 and each pixel (reference pixel 930) in a square area including the pixel on the reference image data 940 after the alignment processing of the same coordinates as the target pixel 920. If the difference data with a certain reference pixel 930 is less than a certain value, the target pixel 920 of the scanned image data 910 exists in the square area of the reference image data 940 after the alignment processing, and the target pixel is correct data. to decide. If the difference data from all the reference pixels 930 is equal to or greater than a certain value, the target pixel 920 of the scanned image data 910 does not exist in the square area of the reference image data 940 after the alignment process, and the target pixel is defective data. Judge that there is. Such image collation is performed for all the pixels of the scanned image data 910.

その後、欠陥データ数が、ユーザが印刷装置操作部200で設定した閾値未満であればスキャン画像データ910を良好と判定し、閾値以上であればスキャン画像データ910を不良と判定する。すなわち比較判定部660は、スキャン画像データの元となる印刷物の良否を判定する判定手段として機能する。比較判定部660は、この検査結果を、印刷原稿排紙コントローラ部710に送信する(S116)。   Thereafter, if the number of defect data is less than the threshold set by the user using the printing apparatus operation unit 200, the scan image data 910 is determined to be good, and if it is equal to or greater than the threshold, the scan image data 910 is determined to be defective. That is, the comparison / determination unit 660 functions as a determination unit that determines the quality of the printed material that is the basis of the scanned image data. The comparison determination unit 660 transmits the inspection result to the print document discharge controller unit 710 (S116).

印刷原稿排紙部700では、印刷原稿排紙コントローラ部710が、検品コントローラ部610からスキャン画像データの検査結果と排紙設定値を受信し(S117)、印刷原稿排紙部700に送り込まれた印刷出力物20の排紙制御を行う。   In the print document discharge unit 700, the print document discharge controller unit 710 receives the scan image data inspection result and the discharge setting value from the inspection controller unit 610 (S117), and is sent to the print document discharge unit 700. Paper discharge control of the printed output 20 is performed.

印刷原稿排紙コントローラ部710は、S117で受信した検査結果が良品判定であれば(S118)、印刷出力物20を良品トレイ(OKトレイ)701へ排紙し(S119)、検査結果が不良判定であれば(S118)、印刷出力物20を不良トレイ(NGトレイ)702へ排紙するように排紙制御する(S120)。   If the inspection result received in S117 is a non-defective product determination (S118), the print document discharge controller 710 discharges the printed output 20 to a non-defective product tray (OK tray) 701 (S119), and the inspection result is determined to be defective. If so (S118), discharge control is performed so that the printed output 20 is discharged to the defective tray (NG tray) 702 (S120).

OKトレイ701に送り込まれた印刷出力物20は、S117にて受信された排紙設定値に応じて(S121)、排紙部1000へジョブが全て終わった後に排紙されるか、部数毎に排紙される(S122)。印刷原稿排紙コントローラ部710は排紙された印刷出力物20をフィニッシャ部800に搬送する。フィニッシャ部800はS101で送信された印刷ジョブの各設定値を受信し(S123)、受信した各設定値に基づいて、印刷出力物20に対して、裁断処理、綴じ処理、穴あけ処理、フォールディング処理等のフィニシング処理を行う(S124)。そして、フィニッシャ部800はフィニシング処理後の印刷出力物20を排紙部1000へ排紙する(S125)。   The print output 20 sent to the OK tray 701 is discharged after the completion of all jobs to the paper discharge unit 1000 according to the paper discharge setting value received in S117 (S121), or for each number of copies. The paper is discharged (S122). The print document discharge controller unit 710 conveys the discharged print output 20 to the finisher unit 800. The finisher unit 800 receives each setting value of the print job transmitted in S101 (S123), and based on each received setting value, the cutting process, the binding process, the punching process, and the folding process for the printed output 20 A finishing process such as the above is performed (S124). Then, the finisher unit 800 discharges the printed output 20 after the finishing process to the paper discharge unit 1000 (S125).

以上が本実施例の説明である。本実施例の検品装置によれば、印刷物の斜行情報に基づき、フィッティング処理の回転方向を一意に決定するため、位置合わせ処理を高速化できる。   The above is the description of this embodiment. According to the inspection apparatus of the present embodiment, since the rotation direction of the fitting process is uniquely determined based on the skew information of the printed matter, the alignment process can be speeded up.

なお、本実施例では、斜行情報の斜行角度の大きさによらず、フィッティング処理を行っていたが、斜行情報の斜行の角度が閾値を超えた場合、検品処理部はフィッティング処理を行わずにエラー処理を行う構成としても良い。ここでのエラー処理とは、印刷物を不良トレイ702へと排紙する処理である。エラー処理において、印刷装置操作部200に、印刷物の斜行によるエラーであることを示しても良いし、斜行によるエラー回数をカウントし、斜行によるエラーが多い場合、レジストローラが故障している可能性がある旨を印刷装置操作部200に表示しても良い。   In this embodiment, the fitting process is performed regardless of the magnitude of the skew angle of the skew information. However, when the skew angle of the skew information exceeds a threshold value, the inspection processing unit performs the fitting process. The error processing may be performed without performing the above. The error processing here is processing for discharging the printed matter to the defective tray 702. In the error processing, the printing apparatus operation unit 200 may indicate that the error is due to skew of the printed matter, or the number of errors due to skew is counted. May be displayed on the printing apparatus operation unit 200.

(実施例2)
実施例1では、特徴点を含むパッチ内のエッジベクトルのフィッティング処理の際、斜行角度Θ514の値から回転させる方向を決めていた。実施例2では、初めに斜行角度Θ514の値だけリファレンス画像データのエッジベクトルを回転させておく。そして、予め回転させたリファレンス画像データのエッジベクトルの回転位置を基準として、従来例と同様に時計周り方向、反時計回り方向の交互にフィッティング処理を行う。本実施例における回転量の推定処理フローについて図12(b)を用いて説明する。なお、特に断りがなければ、その他の構成については、実施例1と同様である。
(Example 2)
In the first embodiment, the direction of rotation is determined from the value of the skew angle Θ 514 in the fitting process of the edge vector in the patch including the feature point. In the second embodiment, the edge vector of the reference image data is first rotated by the value of the skew angle Θ514. Then, with the rotation position of the edge vector of the reference image data rotated in advance as a reference, the fitting process is alternately performed in the clockwise direction and the counterclockwise direction as in the conventional example. The rotation amount estimation processing flow in the present embodiment will be described with reference to FIG. Unless otherwise specified, the other configurations are the same as those in the first embodiment.

位置合わせ処理部650は、記憶装置640に格納されている印刷出力物20の斜行角度Θ514を参照し(S11421)、斜行角度Θ514だけリファレンス画像データのエッジベクトルを含むパッチを回転させる(S11422)。   The alignment processing unit 650 refers to the skew angle Θ 514 of the printed output 20 stored in the storage device 640 (S11421), and rotates the patch including the edge vector of the reference image data by the skew angle Θ 514 (S11422). ).

次に位置合わせ処理部650は、回転させたエッジベクトルがスキャン画像データのエッジベクトルと一致しているか否かを判断する(S11426)。ここでいうエッジベクトルどうしの一致とは実施例1で説明したとおりである。エッジベクトルどうしが一致していると判断された場合、位置合わせ処理部650は、回転量推定処理を終了する。また、エッジベクトルどうしが一致していないと判断された場合、直前のフィッティング処理で行ったリファレンス画像データのエッジベクトルの回転方向が反時計回りかどうかを判定する(S11423)。   Next, the alignment processing unit 650 determines whether or not the rotated edge vector matches the edge vector of the scanned image data (S11426). The coincidence between the edge vectors here is as described in the first embodiment. If it is determined that the edge vectors match, the alignment processing unit 650 ends the rotation amount estimation process. If it is determined that the edge vectors do not match, it is determined whether the rotation direction of the edge vector of the reference image data performed in the immediately preceding fitting process is counterclockwise (S11423).

次にS11423で、位置合わせ処理部650は、回転方向が反時計回りであると判断された場合、リファレンス画像データのエッジベクトルを時計回り方向に0.1°回転するフィッティング処理を行い、処理をS11426へ進める。また、S11423で、回転方向が時計回りであると判断された場合、位置合わせ処理部650は、リファレンス画像データのエッジベクトルを反時計回り方向に0.1°回転するフィッティング処理を行い、処理をS11426へ進める。   Next, in step S11423, when the alignment processing unit 650 determines that the rotation direction is counterclockwise, the alignment processing unit 650 performs a fitting process of rotating the edge vector of the reference image data by 0.1 ° clockwise. The process proceeds to S11426. If it is determined in S11423 that the rotation direction is clockwise, the alignment processing unit 650 performs a fitting process for rotating the edge vector of the reference image data by 0.1 ° in the counterclockwise direction. The process proceeds to S11426.

以上のフィッティング処理によって本実施例のエッジベクトルの回転量は推定される。   The rotation amount of the edge vector of this embodiment is estimated by the above fitting process.

本実施例によれば、実施例1と比べて、斜行角度測定の精度が高く、印刷装置部10の印刷時の用紙に対するズレ量が小さい場合に、より位置合わせ処理時間が短縮される。   According to the present embodiment, compared with the first embodiment, when the skew angle measurement accuracy is high and the amount of misalignment with respect to the paper during printing by the printing apparatus unit 10 is small, the alignment processing time is further shortened.

(その他の実施例)
なお、本発明の目的は、前述した実施例の機能を実現するソフトウェアのプログラムコード(コンピュータプログラム)を記録したコンピュータ可読の記憶媒体を、システムあるいは装置に供給することによっても、達成される。また、システムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成される。
(Other examples)
Note that the object of the present invention can also be achieved by supplying a computer-readable storage medium storing a program code (computer program) of software that implements the functions of the above-described embodiments to a system or apparatus. It can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium.

この場合、記憶媒体から読出されたプログラムコード自体が前述した実施例の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施例の機能が実現される。また、プログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施例が実現される場合も含まれる。   Further, the functions of the above-described embodiments are realized by executing the program code read by the computer. In addition, an OS (operating system) running on a computer performs part or all of actual processing based on an instruction of a program code, and the above-described embodiment is realized by the processing.

Claims (8)

元画像が印刷された印刷物を読み取った読み取り画像を取得する読み取り手段と、
前記元画像を受信する受信手段と、
前記印刷物の斜行の方向を示す斜行情報を取得する取得手段と、
前記受信手段で受信された元画像からエッジ特徴を含むパッチ画像を抽出する抽出手段と、
前記抽出手段で抽出されたパッチ画像を前記斜行情報に基づいて回転させ、当該回転されたパッチ画像に対応する前記読み取り画像の部分を探索することによって前記元画像の位置合わせを行う位置合わせ手段と、
前記位置合わせ手段で位置合わせが行われた元画像と前記読み取り画像とを比較することで、前記印刷物の良否を判定する判定手段と、
を有することを特徴とする検品装置。
Reading means for acquiring a read image obtained by reading a printed matter on which an original image is printed;
Receiving means for receiving the original image;
Obtaining means for obtaining skew information indicating a skew direction of the printed matter;
Extracting means for extracting a patch image including edge features from the original image received by the receiving means;
Positioning means for aligning the original image by rotating the patch image extracted by the extracting means based on the skew information and searching for a portion of the read image corresponding to the rotated patch image When,
A determination unit that determines the quality of the printed matter by comparing the read image with the original image that has been aligned by the alignment unit;
An inspection apparatus comprising:
前記印刷物を搬送する搬送手段を有し、
前記取得手段は、前記搬送手段で搬送される印刷物の端の通過時間を検出することで求まる前記斜行情報を取得することを特徴とする請求項1に記載の検品装置。
Having a conveying means for conveying the printed matter;
The inspection apparatus according to claim 1, wherein the acquisition unit acquires the skew information obtained by detecting a passing time of an end of a printed material conveyed by the conveyance unit.
前記斜行情報は、前記印刷物の斜行の方向および斜行の角度を示す情報であって、
前記取得手段は、前記斜行情報の示す斜行の角度が閾値を超えた場合、前記位置合わせ手段による処理を行わず、エラー処理を行うことを特徴とする請求項2に記載の検品装置。
The skew information is information indicating a skew direction and a skew angle of the printed matter,
3. The inspection apparatus according to claim 2, wherein when the skew angle indicated by the skew information exceeds a threshold value, the acquisition unit performs error processing without performing processing by the positioning unit.
前記位置合わせ手段は、
前記斜行情報の示す斜行の方向に前記抽出されたパッチ画像を回転させ、当該回転されたパッチ画像と前記読み取り画像における部分画像との相関を求め、該相関が相関の閾値以上である場合、前記元画像の位置合わせを完了し、該相関が相関の閾値未満である場合、前記斜行情報の示す斜行の方向に当該回転されたパッチ画像をさらに回転させて位置合わせを行うことを特徴とする請求項1乃至3の何れか1項に記載の検品装置。
The alignment means includes
When the extracted patch image is rotated in the skew direction indicated by the skew information, the correlation between the rotated patch image and the partial image in the read image is obtained, and the correlation is equal to or greater than a correlation threshold When the alignment of the original image is completed and the correlation is less than the correlation threshold, the rotated patch image is further rotated in the skew direction indicated by the skew information to perform the alignment. The inspection apparatus according to any one of claims 1 to 3, wherein the inspection apparatus is characterized in that:
前記位置合わせ手段は、
前記斜行情報の示す斜行の方向および斜行の角度に基づいて前記抽出されたパッチ画像を回転させ、当該回転されたパッチ画像と前記読み取り画像における部分画像との相関を求め、該相関が相関の閾値以上である場合、前記元画像の位置合わせを完了し、該相関が相関の閾値未満である場合、前記回転されたパッチ画像を所定の角度でさらに回転させて位置合わせを行うことを特徴とする請求項1乃至3の何れか1項に記載の検品装置。
The alignment means includes
The extracted patch image is rotated based on the skew direction and the skew angle indicated by the skew information, a correlation between the rotated patch image and the partial image in the read image is obtained, and the correlation is If the correlation image is equal to or greater than the correlation threshold, the alignment of the original image is completed. If the correlation is less than the correlation threshold, the rotated patch image is further rotated by a predetermined angle to perform alignment. The inspection apparatus according to any one of claims 1 to 3, wherein the inspection apparatus is characterized in that:
元画像が印刷された印刷物を読み取った読み取り画像を取得する読み取り手段と、
前記元画像を受信する受信手段と、
前記印刷物の斜行の方向を示す斜行情報を取得する取得手段と、
前記受信手段で受信された元画像を前記斜行情報に基づいて回転させることで当該元画像の位置合わせを行う位置合わせ手段と、
前記位置合わせが行われた元画像と前記読み取り画像とを比較することで、前記印刷物の良否を判定する判定手段と、
を有することを特徴とする検品装置。
Reading means for acquiring a read image obtained by reading a printed matter on which an original image is printed;
Receiving means for receiving the original image;
Obtaining means for obtaining skew information indicating a skew direction of the printed matter;
Alignment means for aligning the original image by rotating the original image received by the receiving means based on the skew information;
A determination unit that determines the quality of the printed matter by comparing the original image subjected to the alignment and the read image;
An inspection apparatus comprising:
読み取り手段が、元画像が印刷された印刷物を読み取った読み取り画像を取得する読み取り工程と、
受信手段が、前記元画像を受信する受信工程と、
取得手段が、前記印刷物の斜行の方向を示す斜行情報を取得する取得工程と、
位置合わせ手段が、前記受信工程で受信された元画像を前記斜行情報に基づいて回転させることで当該元画像の位置合わせを行う位置合わせ工程と、
判定手段が、前記位置合わせが行われた元画像と前記読み取り画像とを比較することで、前記印刷物の良否を判定する判定工程と、
を有することを特徴とする検品方法。
A reading step in which a reading unit acquires a read image obtained by reading a printed matter on which the original image is printed;
A receiving step for receiving the original image;
An acquiring step for acquiring skew information indicating a skew direction of the printed matter;
An alignment step of aligning the original image by rotating the original image received in the reception step based on the skew information;
A determination step of determining the quality of the printed matter by comparing the original image subjected to the alignment and the read image;
An inspection method comprising:
請求項1乃至6の何れか1項に記載の各手段として、コンピュータを機能させることを特徴とするコンピュータプログラム。   A computer program that causes a computer to function as each means according to claim 1.
JP2011171974A 2011-08-05 2011-08-05 Inspection apparatus, inspection method, computer program Withdrawn JP2013036815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011171974A JP2013036815A (en) 2011-08-05 2011-08-05 Inspection apparatus, inspection method, computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011171974A JP2013036815A (en) 2011-08-05 2011-08-05 Inspection apparatus, inspection method, computer program

Publications (1)

Publication Number Publication Date
JP2013036815A true JP2013036815A (en) 2013-02-21

Family

ID=47886564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011171974A Withdrawn JP2013036815A (en) 2011-08-05 2011-08-05 Inspection apparatus, inspection method, computer program

Country Status (1)

Country Link
JP (1) JP2013036815A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014199248A (en) * 2013-03-15 2014-10-23 株式会社リコー Image inspection device, image inspection system, and image inspection method
US9524545B2 (en) 2013-09-17 2016-12-20 Ricoh Company, Ltd. Apparatus, system, method and storage medium for image inspection result determination and verifying false defect detections due to position matching errors
KR20170115678A (en) * 2016-04-08 2017-10-18 한화테크윈 주식회사 The Apparatus For Teaching Tray Image
US20230124195A1 (en) * 2021-10-15 2023-04-20 Fujifilm Business Innovation Corp. Registering an image based on printing data and read data using a position correction amount calculated for a printed image in a case where the corresponding image has a periodic structural feature or no structural feature

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014199248A (en) * 2013-03-15 2014-10-23 株式会社リコー Image inspection device, image inspection system, and image inspection method
US9524545B2 (en) 2013-09-17 2016-12-20 Ricoh Company, Ltd. Apparatus, system, method and storage medium for image inspection result determination and verifying false defect detections due to position matching errors
KR20170115678A (en) * 2016-04-08 2017-10-18 한화테크윈 주식회사 The Apparatus For Teaching Tray Image
KR102564247B1 (en) 2016-04-08 2023-08-07 한화정밀기계 주식회사 The Apparatus For Teaching Tray Image
US20230124195A1 (en) * 2021-10-15 2023-04-20 Fujifilm Business Innovation Corp. Registering an image based on printing data and read data using a position correction amount calculated for a printed image in a case where the corresponding image has a periodic structural feature or no structural feature
US11665289B2 (en) * 2021-10-15 2023-05-30 Fujifilm Business Innovation Corp. Registering an image based on printing data and read data using a position correction amount calculated for a printed image in a case where the corresponding image has a periodic structural feature or no structural feature

Similar Documents

Publication Publication Date Title
US8433209B2 (en) Inspection apparatus, control method of inspection apparatus, and storage medium
JP7150414B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD OF PRINT CONTROL DEVICE, PROGRAM, AND STORAGE MEDIUM
US11297202B2 (en) Image formation apparatus and storing medium
JP2013233772A (en) Inspection system, print device, control method thereof, and program
US20190079445A1 (en) Sheet processing apparatus, image forming system, and program
US11067930B2 (en) Image forming apparatus including first and second sensors reading different surfaces at different positions to detect posture and shape of a sheet
JP2013103407A (en) Printing apparatus, method for controlling printing apparatus, and program
US11477341B2 (en) Image inspection apparatus and misalignment measurement method
JP2013036815A (en) Inspection apparatus, inspection method, computer program
JP2012231312A (en) Sheet processing apparatus, control method of the same, and program
JP2021135197A (en) Inspection device, and control method of the same, printing system as well as program
JP2012232510A (en) System and method for alignment processing in inspection system
US10359973B2 (en) Image forming apparatus adjusting image forming position on sheet
JP6655953B2 (en) Image forming device
JP2021125827A (en) Image reading device
US9654665B2 (en) Image forming apparatus
US20240037891A1 (en) Image processing apparatus, image processing method, and storage medium
US20180229956A1 (en) Document conveyance apparatus and image forming apparatus
US20220327677A1 (en) Image forming apparatus and image forming system
US11588949B1 (en) Image forming apparatus and conveyance control method
US11698597B2 (en) Image forming apparatus
JP2005250327A (en) Image forming apparatus, printed result inspecting apparatus and printed result inspecting method
US9473654B2 (en) Image forming apparatus and image position detecting original
JP2004195680A (en) Inspection device and driver program
JP2023083894A (en) Inspection device, control method thereof, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141007