JP2012121166A - Erratic collating inspection device - Google Patents

Erratic collating inspection device Download PDF

Info

Publication number
JP2012121166A
JP2012121166A JP2010271735A JP2010271735A JP2012121166A JP 2012121166 A JP2012121166 A JP 2012121166A JP 2010271735 A JP2010271735 A JP 2010271735A JP 2010271735 A JP2010271735 A JP 2010271735A JP 2012121166 A JP2012121166 A JP 2012121166A
Authority
JP
Japan
Prior art keywords
image
inspection
reference image
target image
collating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010271735A
Other languages
Japanese (ja)
Other versions
JP5577533B2 (en
Inventor
Tsugio Yamaguchi
次雄 山口
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.)
Kita Denshi Corp
Original Assignee
Kita Denshi 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 Kita Denshi Corp filed Critical Kita Denshi Corp
Priority to JP2010271735A priority Critical patent/JP5577533B2/en
Publication of JP2012121166A publication Critical patent/JP2012121166A/en
Application granted granted Critical
Publication of JP5577533B2 publication Critical patent/JP5577533B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Collation Of Sheets And Webs (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an erratic collating inspection device capable of lowering an agreement rate between a reference image and a picked-up image.SOLUTION: The erratic collating inspection device is provided in a paper collator having a plurality of collating dies, images part of printing faces of signatures taken out one by one from the collating dies as an inspection image, and inspects erratic collating by comparing the inspection image with the reference image stored beforehand. The erratic collating inspection device includes: an imaging means imaging part of printing faces of signatures; a reference image setting means setting the plurality of reference images from target images obtained by cutting off part of the picked-up images taken by the imaging means; an erratic collation determination means determining erratic collation by comparing each of the plurality of reference images with the inspection image; a target image state calculation means calculating average density and contrast in the target image; and a target image state display means displaying the state calculated by the target image state calculation means. The plurality of reference images are selected based on display by the target image state display means.

Description

本願発明は,帳票等を丁合する際に乱丁を検査する乱丁検査装置に関する。   The present invention relates to an irregularity inspection apparatus for inspecting irregularities when collating a form or the like.

製本中での乱丁、落丁等(本明細書においては乱丁と総称する)の検査装置として、従来から、CCDカメラを用いた乱丁検査装置が知られている。
例えば、中綴じ機械においては、丁合駒ごとにストックされた帳票は、各丁合駒の帳票取出機構によって1枚ずつ取り出され、搬送装置(ギャザリングチェーン)に配置された鞍上に順に載置され、丁合束として形成されて下流の中綴じ機に搬送される。
ここで、該丁合駒ごとに配置された乱丁検査用のCCDカメラがその折丁画像を撮影し、その撮像画像と予め登録されている基準画像とを比較して折丁の画像異常の有無を検出し、その画像異常の検出信号と、CCDカメラの撮像を行うタイミング及び搬送装置(ギャザリングチェーン)の折丁送り量とによって、どの丁合駒で乱丁が起きたかを検知することが行われている。
2. Description of the Related Art Conventionally, as an inspection apparatus for booklets, missing pages, etc. (collectively referred to as "random pages" in this specification), a booklet inspection device using a CCD camera has been known.
For example, in a saddle stitching machine, a form stocked for each collating piece is taken out one by one by a form taking-out mechanism of each collating piece, and placed in order on a basket arranged in a conveying device (gathering chain). Formed as a bundle and conveyed to a downstream saddle stitcher.
Here, the CCD camera for checking the collation arranged for each collating piece takes the signature image, and compares the captured image with a pre-registered reference image to detect the presence or absence of the signature image. Then, it is performed to detect which collating frame has occurred in accordance with the detection signal of the image abnormality, the timing at which the CCD camera performs imaging, and the amount of signatures fed by the transport device (gathering chain).

ここで、撮影画像と予め登録されている基準画像とを比較して乱丁を検出するに際し、基準画像の領域を広く設定すると、撮像画像との相違点がわずかな違いにしかならないため、基準画像と撮像画像との一致率を下げられず、乱丁を正確に検出するためには一致率を高く設定しなければならない。一方、基準画像の領域を狭く設定すると、他の折丁、例えば、隣接する丁合駒における折丁において同様の撮像画像を得る可能性が高くなるため(隣接駒間における丁合画像は、往々にして類似性が高いことによる。)、隣接駒間の誤挿入等を検知するには、やはり、一致率を高く設定しなければならない。
しかしながら、撮像画像には折丁が搬送される際に発生する歪みや撓みが反映されるため、このように一致率を高く設定すると、この歪みや撓みが誤検知の要因となってしまう。
Here, when detecting a disorder by comparing the captured image with a reference image registered in advance, if the area of the reference image is set wide, the difference from the captured image is only a slight difference. The coincidence rate between the captured image and the captured image cannot be lowered, and the coincidence rate must be set high in order to accurately detect disorder. On the other hand, if the area of the reference image is set to be narrow, there is a higher possibility of obtaining a similar captured image in other signatures, for example, signatures in adjacent collating frames (collated images between adjacent frames are often used). Due to the high similarity, the coincidence rate must be set high to detect erroneous insertion between adjacent frames.
However, since the captured image reflects distortion and bending that occur when the signature is conveyed, if the coincidence rate is set high as described above, this distortion and bending may cause false detection.

そこで、一致率を低く設定しても誤検知が発生しないようにするために、基準画像の領域を設定する際に、隣接する丁合駒間で類似性の低い丁合画像を当該駒における基準画像として採用することが提案されている。(特許文献1)
また、基準画像の領域を当該折丁の特徴的部分に設定するための設定手段を設けることも提案されている。(特許文献2)
Therefore, in order to prevent erroneous detection even if the matching rate is set low, when setting the reference image area, a collation image with low similarity between adjacent collation frames is used as a reference image for the frame. It has been proposed to adopt. (Patent Document 1)
It has also been proposed to provide a setting means for setting the reference image area to a characteristic part of the signature. (Patent Document 2)

特開2007−136925号公報JP 2007-136925 A 特開2009−292088号公報JP 2009-292088 A

ところが、特許文献1のように、隣接する丁合駒間で折丁画像を相互に比較して、類似性の低い丁合画像を基準画像として設定するには、そのための時間と手間が必要になるし、装置も高価になる。また、丁合駒への折丁の誤挿入は隣接する丁合駒間のみに発生するわけではないから、精確な乱丁検査の失敗予防をするためには、隣接する駒間だけでなく全部の丁合駒間での類似性を判断することが必要であり、駒数が多くなると、基準画像の設定に更に手間と時間が掛かると共に、そのための装置もコスト高となってしまう。
また、特許文献2のように、特徴的部分への設定手段を有していても、その紙面画像中に基準画像と同じ文字列や図柄、或いは類似した文字列や図柄が存在してしまった場合には、一致率を下げて運用していると、良品と判断してしまう検査ミスが生じる可能性があり、一致率を上げて運用しても、上記したように、搬送中の歪みや撓みが誤検知の要因となってしまう。
However, as in Patent Document 1, it takes time and effort to compare signature images between adjacent collating frames and to set a collation image with low similarity as a reference image. The equipment is also expensive. In addition, since incorrect insertion of signatures into collating pieces does not occur only between adjacent collating pieces, in order to prevent failure of accurate random inspection, not only between adjacent pieces but also between all collating pieces. It is necessary to determine the similarity, and when the number of frames increases, it takes much time and time to set the reference image, and the cost for the device for that becomes high.
Further, as in Patent Document 2, even if the setting means for the characteristic portion is included, the same character string or design as the reference image or a similar character string or design exists in the paper image. In this case, if the operation is performed with a low match rate, there is a possibility that an inspection error that will be judged as a non-defective product may occur. Bending becomes a factor of false detection.

このため、本発明は、複数の丁合駒を有する丁合装置に設けられ、前記丁合駒から1部ずつ取り出された折丁の印刷面の一部を検査画像として撮像し、該検査画像と予め記憶された基準画像とを比較して乱丁を検査する乱丁検査装置であって、
前記折丁の印刷面の一部を撮像する撮像手段と、前記撮像手段で撮像された撮像画像の一部を切り取った対象画像から複数の前記基準画像を設定する基準画像設定手段と、前記複数の各基準画像と前記検査画像とをそれぞれ対比して乱丁を判定する乱丁判定手段と、前記対象画像における画像状態を検出する対象画像状態検出手段と、を有し、
前記複数の基準画像は、前記対象画像状態検出手段における検出結果に基づいて選択されることを特徴とする乱丁検査装置とした。
For this reason, the present invention is provided in a collating apparatus having a plurality of collating pieces, picks up a part of the print surface of the signature taken out from the collating piece one by one as an inspection image, and stores the inspection image and the image in advance. This is a randomness inspection device that inspects randomness by comparing with a reference image,
Imaging means for imaging a part of the print surface of the signature; reference image setting means for setting a plurality of reference images from a target image obtained by cutting out a part of the captured image captured by the imaging means; Each of the reference image and the inspection image, respectively, a disorder determination unit that determines disorder, and a target image state detection unit that detects an image state in the target image,
The plurality of reference images are selected based on a detection result in the target image state detection means.

このように構成したことにより、一致率を必要以上に高く設定する必要がないので、折丁の搬送に伴う歪みや撓み、外乱光などに影響されない安定した検査結果を得ることができる。
また、撮像画像の内から検査に適した基準画像を選択するにあたって、対象画像状態を検査する対象画像状態検出手段の検出結果に基づいて選択することができるとともに、対象画像における特徴部分の抽出を綿密に行って基準画像の設定をする必要もないので、設定時間の短縮が図れ、迅速な作業ができる。
さらに、隣接駒間との類似性の低い部分の抽出を考慮する必要がないので、装置自体のコストパフォーマンスに優れている。
With this configuration, it is not necessary to set the coincidence rate higher than necessary, so that a stable inspection result that is not affected by distortion, bending, disturbance light, etc. associated with the conveyance of the signature can be obtained.
Further, when selecting a reference image suitable for inspection from among the captured images, the selection can be made based on the detection result of the target image state detecting means for inspecting the target image state, and extraction of the characteristic portion in the target image can be performed. Since it is not necessary to set the reference image in detail, the setting time can be shortened and the operation can be performed quickly.
Furthermore, since it is not necessary to consider the extraction of a portion with low similarity between adjacent frames, the cost performance of the device itself is excellent.

また本発明は、前記対象画像状態検出手段は、前記対象画像における平均濃度およびコントラストを算出する手段であり、前記対象画像状態検出手段による検出結果を表示する対象画像状態表示手段を有することを特徴とする乱丁検査装置とした。   Further, the present invention is characterized in that the target image state detection means is means for calculating an average density and contrast in the target image, and has target image state display means for displaying a detection result by the target image state detection means. This is a random inspection apparatus.

このように構成したことにより、対象画像の基準画像としての適否評価を平均濃度とコントラストの2つのファクターを用いて簡便に行えるので、基準画像としての適否評価において特徴部分の抽出を厳密に行う必要がなく、基準画像の設定作業が容易である。
また、対象画像状態表示手段に表示される平均濃度とコントラストの2つのファクターを観つつ基準画像の設定作業を行うことができるので、作業が容易である。
With this configuration, the suitability evaluation of the target image as a reference image can be easily performed using two factors of average density and contrast. Therefore, it is necessary to strictly extract feature portions in the suitability evaluation as a reference image. Therefore, the setting operation of the reference image is easy.
In addition, since the reference image setting operation can be performed while observing the two factors of the average density and the contrast displayed on the target image state display means, the operation is easy.

また本発明は、前記対象画像状態検出手段における検出結果が基準画像として適切な所定範囲の範囲内であるか否かを判定する基準画像判定手段を有し、前記基準画像設定手段は、前記基準画像判定手段が基準画像として適切であると判定した前記対象画像を前記基準画像として選択することを特徴とする乱丁検査装置とした。   The present invention further includes reference image determination means for determining whether or not the detection result in the target image state detection means is within a predetermined range suitable as a reference image, and the reference image setting means includes the reference image setting means. The randomness inspection apparatus is characterized in that the target image determined to be appropriate as a reference image by the image determination means is selected as the reference image.

このように構成したことにより、基準画像設定手段は平均濃度およびコントラストが所定範囲内にある場合の対象画像を基準画像として選択するので、オペレーターが対象画像状態表示手段における表示をいちいち見ながら行う必要がない。   With this configuration, the reference image setting unit selects the target image when the average density and contrast are within the predetermined ranges as the reference image, so the operator needs to perform the display while viewing the target image state display unit one by one. There is no.

また本発明は、前記基準画像設定手段によって前記平均濃度あるいはコントラストが所定範囲外である対象画像を基準画像として選択した場合、選択した当該基準画像が前記所定範囲外であることを注意表示する範囲外選択表示手段を有することを特徴とする乱丁検査装置とした。   Further, in the present invention, when the target image having the average density or contrast outside the predetermined range is selected as the reference image by the reference image setting unit, a range for displaying that the selected reference image is outside the predetermined range A randomness inspection device characterized by having an outside selection display means.

このように構成したことにより、オペレーターの選択設定した基準画像が基準画像としてふさわしくない場合に、ふさわしくないことを表示することができるので、オペレーターに注意喚起を促すことで基準画像設定を適切に行うことができる。   With this configuration, when the reference image selected and set by the operator is not suitable as the reference image, it is possible to display that the reference image is not suitable. Therefore, the reference image is appropriately set by prompting the operator to be alerted. be able to.

さらに本発明は、前記基準画像設定手段によって設定する前記基準画像数を2個とし、前記乱丁判断手段は、前記設定した2個の基準画像と該2個の基準画像に対応する検査画像とを比較して、該2個の検査画像がいずれも所定の一致率以上で一致した場合に、正常な丁合が行われたと判断することを特徴とする乱丁検査装置とした。   In the present invention, the number of reference images set by the reference image setting unit is set to two, and the disorder determination unit calculates the two reference images set and the inspection images corresponding to the two reference images. In comparison, when the two inspection images coincide with each other at a predetermined coincidence rate or higher, it is determined that normal collation has been performed.

このように構成したことにより、折丁の搬送に伴う歪みや撓み、外乱光などに影響されない安定した検査結果を得ることができる。
また、撮像画像の内から検査に適した基準画像を選択するにあたって迅速な作業ができる。
さらに、隣接駒間との類似性の低い部分の抽出や、対象画像における特徴部分の抽出をする必要がないので、装置自体のコストパフォーマンスに優れている。
By comprising in this way, the stable test result which is not influenced by the distortion, bending, disturbance light, etc. accompanying conveyance of a signature can be obtained.
In addition, a quick operation can be performed when selecting a reference image suitable for inspection from among the captured images.
Furthermore, since it is not necessary to extract a portion having low similarity with adjacent frames or a feature portion in the target image, the cost performance of the apparatus itself is excellent.

本発明は、このように構成したことにより、基準画像の設定作業が容易であるにも関わらず基準画像と検査画像との一致率(閾値)を低く設定でき、折丁の歪みや撓みに影響されない検査結果を得ることができる。   With this configuration, the present invention can set the matching rate (threshold value) between the reference image and the inspection image to be low even though the setting work of the reference image is easy, and affects the distortion and deflection of the signature. Test results that are not performed can be obtained.

中綴じ製本ラインに適用した乱丁検査装置の全体構成図。The whole block diagram inspection device applied to the saddle stitch bookbinding line. 本発明における乱丁検査装置の構成図。The block diagram of the irregularity inspection apparatus in this invention. 本発明における乱丁検査装置の駒乱丁検査部の外観図。The external view of the piece disorder | corruption inspection part of the irregularity inspection apparatus in this invention. 本発明における乱丁検査装置の検査タイミングの説明図。Explanatory drawing of the inspection timing of the irregularity inspection apparatus in this invention. 本発明における乱丁検査装置の検査フロー図。The inspection flow figure of the random inspection apparatus in this invention. 本発明における基準画像としての最適範囲を説明する説明図。Explanatory drawing explaining the optimal range as a reference | standard image in this invention. 本発明における折丁画像、撮像画像、基準画像の関係を説明する説明図。Explanatory drawing explaining the relationship of the signature image in the present invention, a captured image, and a reference | standard image.

本件発明の第1の実施の形態例を、丁合装置に応用した例を用いて、以下に説明する。
なお、以下の説明における「撮像画像」、「対象画像」、「基準画像」、「検査画像」を定義付けると、図7に示すように、「撮像画像」Aは、用紙(折丁)Bの一部を撮像手段が撮像した全範囲の画像をいい、「対象画像」Cは、撮像画像の一部であって基準画像として適しているか否かを判定する判定対象の画像をいい、「基準画像」Dは、対象画像の中から、乱丁検査のための対比画像として適していると判定されて選択され、記憶される画像をいい、「検査画像」Eは、各丁合駒から取り出された折丁の印刷面の一部を撮像手段が撮像した被検査画像の一部であって、基準画像位置によって規定される所定のサーチエリアを有する画像をいう。
The first embodiment of the present invention will be described below using an example in which the first embodiment is applied to a collation apparatus.
When “captured image”, “target image”, “reference image”, and “inspection image” in the following description are defined, “captured image” A is a sheet (signature) B as shown in FIG. A part of the captured image is a part of the captured image and “target image” C is a determination target image for determining whether or not it is suitable as a reference image. The image “D” is an image that is selected and stored from the target images as being suitable as a contrast image for the disorderly collation inspection. The “inspection image” E is the folded image taken out from each collating piece. An image having a predetermined search area defined by a reference image position, which is a part of an image to be inspected, which is obtained by capturing an image of a part of the printing surface of the sword by the imaging unit.

丁合装置10は、図1に示すように、それぞれに折丁収納手段11を有した複数の丁合駒10-1〜nを有しており、また、水平方向に延びた回転軸13、当該回転軸13を回転駆動する駆動部16、折り丁収納手段11を支持する折り丁載台12、各折り丁収納手段11に対応して当該回転軸13に配設された複数のドラム14、各丁合駒10-1〜nからの折丁を搬送する搬送ライン(ギャザリングチェーン)17、及び該搬送ライン17上に設けられる鞍(図示せず)とから構成されている。
回転軸13が回転駆動されると、各丁合駒10-1〜nの折丁載台12に載置された折丁が、ドラム14の爪にて1部ずつ引き出されて搬送ライン17の鞍上に落下する。
落下した折丁は、搬送されるに従い各丁合駒から順に上積みされて、丁合装置10終端において当該複数の折丁全てがページ順に積層された丁合束が形成される。
As shown in FIG. 1, the collating apparatus 10 has a plurality of collating pieces 10-1 to 10-n each having a signature storing means 11, and a rotating shaft 13 extending in the horizontal direction, the rotation A drive unit 16 that rotationally drives the shaft 13, a signature table 12 that supports the signature storing means 11, a plurality of drums 14 arranged on the rotating shaft 13 corresponding to each signature storing means 11, and each collating piece It is comprised from the conveyance line (gathering chain) 17 which conveys the signature from 10-1 to n, and the collar (not shown) provided on this conveyance line 17. FIG.
When the rotary shaft 13 is driven to rotate, the signatures placed on the signature placing table 12 of each collating piece 10-1 to n are pulled out one by one by the claws of the drum 14 and placed on the conveyance line 17 Fall into.
The dropped signatures are stacked in order from each collating piece as they are conveyed, and a collation bundle is formed in which all the plural signatures are stacked in page order at the end of the collating apparatus 10.

乱丁検査装置20は、図1、図2に示すように、各丁合駒10-1〜nに1つずつ配置される駒乱丁検査部20-1〜nと、ネットワーク(I/O)を介して接続されるライン制御ユニット30から構成されている。
各駒乱丁検査部20-1〜nは、いずれも同一の構成を有しており、それぞれ、折丁を撮像する撮像手段21、検査側制御部22、入力操作手段23、表示手段24を有している。
撮像手段21は、丁合駒10-1〜nから引き出された折丁の印刷面の一部を撮像するCCDカメラ等からなる撮像手段である。
As shown in FIG. 1 and FIG. 2, the random order inspection device 20 includes a piece random order inspection unit 20-1 to 20-n arranged one by one in each collating piece 10-1 to n and a network (I / O). The line control unit 30 is connected.
Each of the piece random inspection units 20-1 to 20-n has the same configuration, and has an image pickup unit 21, an inspection side control unit 22, an input operation unit 23, and a display unit 24 for imaging a signature. is doing.
The image pickup means 21 is an image pickup means composed of a CCD camera or the like for picking up an image of a part of the print surface of the signature drawn from the collating pieces 10-1 to 10-n.

検査側制御部22は、前記撮像手段で撮像された撮像画像の一部を切り取って対象画像情報を取得する等の画像処理を行う丁合画像処理手段22aと、該丁合画像処理手段22aで切り取った対象画像情報の平均濃度およびコントラストを算出する対象画像状態検出手段22bと、該対象画像状態検出手段22bにおける算出結果が基準画像として適切な所定範囲の範囲内であるか否かを判定する基準画像判定手段22cと、該基準画像判定手段22cにおける判定結果が基準画像として適切であると判断した複数の対象画像を基準画像として選択し記憶する基準画像設定手段22dと、該複数の各基準画像と検査画像とをそれぞれ対比して乱丁を判定する乱丁判定手段22eと、その判定結果を当該乱丁駒における各種設定情報と共に記憶する検査情報記憶手段22fと、乱丁判定手段22eから検査情報と入力操作手段23からの設定情報とに基づいて当該丁合装置10を停止する等の制御を行ったり、ネットワーク(I/O)を介してライン制御ユニット30へ検査情報等を出力したりする駒制御手段22gと、を有している。   The inspection-side control unit 22 includes a collation image processing unit 22a that performs image processing such as cutting out a part of the captured image captured by the imaging unit and acquiring target image information, and the collation image processing unit 22a. Target image state detection means 22b for calculating the average density and contrast of the cut target image information, and whether or not the calculation result in the target image state detection means 22b is within a predetermined range suitable as a reference image A reference image determining unit 22c; a reference image setting unit 22d for selecting and storing as a reference image a plurality of target images for which the determination result in the reference image determining unit 22c is appropriate as a reference image; The tamper determination means 22e for comparing the image and the inspection image to determine the tampering, and storing the determination result together with various setting information in the tampering piece. Control such as stopping the collation apparatus 10 based on the inspection information storage means 22f, the inspection information from the disorder determination means 22e and the setting information from the input operation means 23, or the network (I / O) Via a piece control means 22g for outputting inspection information or the like to the line control unit 30.

入力操作手段23は、検査側制御部22に対して、基準画像として許容される平均濃度およびコントラストの範囲を設定したり、基準画像と検査画像との許容される一致率を設定したり、あるいは乱丁が連続して発生した場合に丁合装置10を停止する条件を設定したりする入力手段である。
さらに、表示手段24は、撮像手段21で撮像している撮像画像や該撮像画像から特定される対象画像、さらには入力操作手段23によって入力される設定値等を表示したりする液晶表示手段である。
そして、該駒乱丁検査部20-1〜nは、撮像手段21を除き、図3に示す筐体28に収納されており、該筐体28は、オペレーターによって操作されるように各丁合駒10-1〜nの近傍にそれぞれ配置されている。
The input operation means 23 sets an average density and contrast range allowed as a reference image to the inspection-side control unit 22, sets an acceptable matching rate between the reference image and the inspection image, or This is an input means for setting a condition for stopping the collation apparatus 10 when irregularity occurs continuously.
Further, the display unit 24 is a liquid crystal display unit that displays a captured image captured by the imaging unit 21, a target image specified from the captured image, a setting value input by the input operation unit 23, and the like. is there.
The piece random inspection units 20-1 to 20-n are accommodated in a case 28 shown in FIG. 3 except for the image pickup means 21, and the case 28 is operated by an operator so as to be operated by each operator. 1 to n are arranged in the vicinity.

該ライン制御ユニット30は、ネットワーク(I/O)を介して複数の駒乱丁検査部20-1〜nを制御するために、各検査側制御部22とは別個に設けられているものであり、1台で、あるいは最小限の台数で、丁合装置10および乱丁検査装置20を含むシステム全体の制御をするように構成されている。
該ライン制御ユニット30は、図2に示すように、各丁合駒10-1〜nに共通する標準時刻を供給する標準時刻供給手段30b(タイムサーバ30b−1及び電波時計30b−2)、各丁合駒10-1〜n毎の検査側制御部22等へ各種設定情報を入力する入力操作手段30d、該入力操作手段30dによる入力操作や各駒乱丁検査部20-1〜nの稼働状態等を表示する表示手段30c、各駒乱丁検査部20-1〜nからの検査情報を集計分析し記憶する検査情報分析・記憶手段30e、およびスターター15からのスタート信号31、エンコーダー32からのパルス信号及び入力操作手段30dからの入力信号等を受けてライン制御ユニット30を制御するメイン制御手段30aを有している。
該メイン制御手段30aは、前記設定情報および検査情報に基づき、丁合装置10および乱丁検査装置20を制御するものであり、丁合装置10に乱丁が発生して乱丁検査装置20から乱丁検査情報(検査情報)が出力された場合に丁合装置10を自動停止したり、入力操作手段30dによる設定情報に基づき、当該駒乱丁検査部20-1〜nに対し該設定情報を出力したり、駒乱丁検査部20-1〜nのストップスイッチをオペレーターが操作した場合に、丁合装置10全体を強制停止したりする機能を備えている。
The line control unit 30 is provided separately from each inspection-side control unit 22 in order to control the plurality of piece disorder checking units 20-1 to 20-n via a network (I / O). The whole system including the collation apparatus 10 and the random collation inspection apparatus 20 is controlled by one or a minimum number.
As shown in FIG. 2, the line control unit 30 includes standard time supply means 30b (a time server 30b-1 and a radio clock 30b-2) for supplying a standard time common to each collating piece 10-1 to n, and each collating piece. Input operation means 30d for inputting various setting information to the inspection side control section 22 and the like for each of 10-1 to n, the input operation by the input operation means 30d, and the operating state of each piece random inspection section 20-1 to n are displayed. Display means 30c, inspection information analysis / storage means 30e for collecting and analyzing and storing the inspection information from each piece check section 20-1 to n, start signal 31 from starter 15, pulse signal from encoder 32 and input It has a main control means 30a for controlling the line control unit 30 in response to an input signal from the operation means 30d.
The main control unit 30a controls the collation apparatus 10 and the collation inspection apparatus 20 on the basis of the setting information and the inspection information. When the (inspection information) is output, the collation apparatus 10 is automatically stopped, or the setting information is output to the piece collation inspection units 20-1 to 20-n based on the setting information by the input operation means 30d, When the operator operates the stop switch of the piece random inspection units 20-1 to 20-n, it has a function of forcibly stopping the entire collating apparatus 10.

スターター15は、ドラム14の一回転毎にスタート信号31を発生させるものであり、各検査側制御部22に内蔵したカウンターは、メイン制御手段30aを通して供給される該スタート信号31をカウントアップする。したがって、このカウンターのカウント数により、各丁合駒における折丁の特定が可能となる。
エンコーダー32はドラム14の回転に同期してパルス信号を発生するものであり、該パルス信号により、折丁収納手段11に対するドラム14上に設けられた爪の基準位置(回転角度位置)が設定される。
The starter 15 generates a start signal 31 for each rotation of the drum 14, and a counter built in each inspection-side control unit 22 counts up the start signal 31 supplied through the main control means 30a. Therefore, the signature of each collating piece can be specified by the count number of this counter.
The encoder 32 generates a pulse signal in synchronization with the rotation of the drum 14, and the reference position (rotation angle position) of the claw provided on the drum 14 with respect to the signature storing means 11 is set by the pulse signal. The

そして、該駒乱丁検査部20-1〜nは、撮像手段21を除き、図3に示す筐体28に収納されており、該筐体28は、オペレーターによって操作されるように各丁合駒10-1〜nの近傍にそれぞれ配置されている。
該筐体28の前面側には、表示手段24と共に、その表示手段24の周囲の操作パネル上に入力操作手段23が設けられており、さらにその上部には、検査異常等を報知するための赤色回転ランプ25が設けられている。
また、表示手段24は、撮像画像のための表示領域の右側の表示領域24’に、対象画像状態検出手段22bが算出した平均濃度やコントラスト等に基づく対象画像状態を表示する対象画像状態表示手段24a、および基準画像として選択した対象画像の平均濃度やコントラストが、オペレーターが入力操作手段23によって予め設定した乱丁判定の許容範囲外である場合に、範囲外であることを注意表示する範囲外選択表示手段24bを有している。
さらに、該表示領域24’には、これら表示の他に、乱丁判定手段22eによって判定された一致率の値や、入力操作手段によって設定された各種数値、例えば許容エラー枚数や検査モードなどが併せて表示される。
The piece random inspection units 20-1 to 20-n are accommodated in a case 28 shown in FIG. 3 except for the image pickup means 21, and the case 28 is operated by an operator so as to be operated by each operator. 1 to n are arranged in the vicinity.
On the front side of the housing 28, together with the display means 24, an input operation means 23 is provided on an operation panel around the display means 24, and an upper portion thereof is used for notifying an inspection abnormality or the like. A red rotating lamp 25 is provided.
In addition, the display unit 24 displays the target image state display unit that displays the target image state based on the average density, contrast, and the like calculated by the target image state detection unit 22b in the display region 24 ′ on the right side of the display region for the captured image. When the average density or contrast of the target image selected as the reference image is outside the allowable range of the tampering determination preset by the input operation means 23 by the operator, an out-of-range selection is displayed. Display means 24b is provided.
Further, in addition to these displays, the display area 24 ′ includes the coincidence rate value determined by the disorder determination unit 22e and various numerical values set by the input operation unit, such as the number of allowable errors and the inspection mode. Displayed.

また、撮像手段21のための撮像画像領域には、検査画像領域を囲む検査画像領域線24cと、対象画像の画像領域を囲む対象画像領域線24d(該対象画像領域線24dは、その対象画像が基準画像として設定される場合には、基準画像の画像領域を囲む基準画像領域線24d’となる。)と、が表示される。ここで、該対象画像領域線24dは青色、基準画像領域線24d’は赤色として、その線色を異ならせるなどによってお互いを区別できるように構成されており、したがって、対象画像の画像領域内に赤線で囲まれた領域がある場合には、その領域が基準画像として選択設定されたものであることを区別することができる。   In addition, the captured image area for the imaging unit 21 includes an inspection image area line 24c surrounding the inspection image area and a target image area line 24d surrounding the image area of the target image (the target image area line 24d is the target image). Is set as the reference image, the reference image area line 24d ′ surrounding the image area of the reference image is displayed. Here, the target image area line 24d is blue, and the reference image area line 24d ′ is red, so that they can be distinguished from each other by changing their line colors. When there is an area surrounded by a red line, it can be distinguished that the area is selected and set as a reference image.

該対象画像領域線24dは、操作パネル上に設けられている対象画像移動スイッチ23aの操作によって、X,Y方向に移動させることができるように構成されている。その際、対象画像の移動量は、対象画像移動スイッチ23aの1回の押下により、X,Y方向いずれも、対象画像領域に対し10%の割合とされている。
そして、オペレーターによる該対象画像移動スイッチ23aの操作により該対象画像領域線24dが撮像領域内を移動すると、検査画像領域を囲む検査画像領域線24cも、該対象画像領域線24dと所定の位置関係を保ったまま移動するように構成されている。該検査画像領域線24cは、桃色に着色されて、他の領域線と区別することができるように構成されている。乱丁検査時には、該該検査画像領域線24cによって囲まれる検査画像が、予め設定された基準画像と対比されるのである。
The target image area line 24d is configured to be moved in the X and Y directions by operation of a target image movement switch 23a provided on the operation panel. At this time, the movement amount of the target image is set to a ratio of 10% with respect to the target image area in both the X and Y directions by pressing the target image movement switch 23a once.
When the target image area line 24d is moved in the imaging area by the operation of the target image movement switch 23a by the operator, the inspection image area line 24c surrounding the inspection image area is also in a predetermined positional relationship with the target image area line 24d. It is configured to move while keeping. The inspection image area line 24c is colored pink so that it can be distinguished from other area lines. At the time of random inspection, the inspection image surrounded by the inspection image region line 24c is compared with a preset reference image.

また、折丁における撮像画像位置を調整することができるように、撮像画像移動スイッチ23dが設けられており、該撮像画像移動スイッチ23dを操作することにより、折丁画像内を上下方向(図3に示す上下方向)に移動するように構成されている。この場合にも、該撮像画像移動スイッチ23dを1回押下する毎に、上下方向いずれも、撮像画像領域に対し10%の割合で移動するように構成されている。   Also, a captured image movement switch 23d is provided so that the position of the captured image in the signature can be adjusted. By operating the captured image movement switch 23d, the inside of the signature image is moved in the vertical direction (FIG. 3). In the vertical direction shown in FIG. Also in this case, each time the captured image movement switch 23d is pressed once, it is configured to move at a rate of 10% with respect to the captured image region in both the vertical direction.

さらに、操作パネル上には、対象画像領域線24dで囲まれた対象画像を基準画像として設定するための基準画像設定スイッチ23bが設けられている。
該基準画像設定スイッチ23bは、CH1〜CH3からなる3個のスイッチを有しており、該スイッチCH1〜CH3が押下されることにより、それぞれ第1〜第3基準画像が設定されるように構成されている。また、各スイッチCH1〜CH3には、それぞれに3色(橙、緑、赤)の発光ダイオードからなる点灯手段23b’が付属されており、該点灯手段23b’の発光色によって、当該基準画像の設定状況および検査状況を区別することができるように構成されている。
より具体的には、橙色に点灯している場合には、基準画像がまだ設定されていない状態を示し、緑色で点灯する場合には、基準画像が設定され、あるいは当該設定された基準画像が検査中である状態を示し、赤色で点灯している場合には、検査中の当該基準画像に一致率の異常があり、丁合エラーが生じている状態を示す。
Further, a reference image setting switch 23b for setting a target image surrounded by the target image region line 24d as a reference image is provided on the operation panel.
The reference image setting switch 23b has three switches including CH1 to CH3, and is configured such that the first to third reference images are set by pressing the switches CH1 to CH3, respectively. Has been. Each of the switches CH1 to CH3 is provided with lighting means 23b ′ composed of light emitting diodes of three colors (orange, green and red), and the reference image of the reference image is determined according to the emission color of the lighting means 23b ′. It is configured so that the setting status and the inspection status can be distinguished.
More specifically, when it is lit in orange, it indicates that the reference image has not been set yet, and when it is lit in green, the reference image is set or the set reference image is A state in which the inspection is in progress is shown, and when the light is red, the reference image being inspected has a coincidence rate abnormality and a collation error has occurred.

次に、このように構成されている第1の実施の形態例において、複数個の基準画像を設定し、それら基準画像を用いて乱丁を検査する手順について説明する。
まず、オペレーターによる基準画像の設定について説明する。
オペレーターが、それぞれの駒乱丁検査部20-1〜nの対象画像移動スイッチ23aを操作して対象画像領域線24dを撮像画像領域内で移動させると、移動させた位置における該対象画像領域内の平均濃度およびコントラストが対象画像状態検出手段22bによって順次算出され、その算出値が対象画像状態表示手段24aに表示される。
そこで、オペレーターは、表示されたその算出値を観測しながら、その算出値が基準画像として適切な所定範囲の範囲内であるか否かを判断し、基準画像として適切であると判断した場合は、該対象画像領域線24dで囲まれた対象画像を基準画像として登録すべく、基準画像設定スイッチ23b(CH1)を押下する。これにより、当該対象画像が第1の基準画像として設定され、その画像領域が基準画像領域線24d’によって表示される。この基準画像の設定位置は、基準画像設定スイッチ23b(CH1)の押下に伴って、表示されている対象画像領域線24dが基準画像領域線24d’に変更されること(具体的には、対象画像領域線24dの青色が基準画像領域線24d’の赤色に変化したこと)により確認することができ、基準画像領域線24d’がその位置に固定表示される。この固定表示により、基準画像領域線24d’は検査位置移動スイッチ23aを操作しても移動しない。さらに、この設定作業によって、基準画像設定スイッチ23b(CH1)の点灯手段23b’が未設定状体の橙色から設定状態の緑色に点灯色が変更されるので、第1の基準画像の設定が終了したことを確認することができる。
なお、撮像画像領域内で基準画像として選択設定するに適当な領域が無い場合には、撮像画像移動スイッチ23dを押下して撮像画像位置を変更し、同様に基準画像を選択設定する作業を行う。
Next, in the first embodiment configured as described above, a procedure for setting a plurality of reference images and inspecting a disorder using these reference images will be described.
First, the setting of the reference image by the operator will be described.
When the operator operates the target image movement switch 23a of each piece check section 20-1 to 20-n to move the target image area line 24d within the captured image area, the operator moves within the target image area at the moved position. The average density and contrast are sequentially calculated by the target image state detection unit 22b, and the calculated values are displayed on the target image state display unit 24a.
Therefore, the operator observes the displayed calculated value, determines whether the calculated value is within a predetermined range appropriate as the reference image, and determines that the calculated value is appropriate as the reference image. Then, in order to register the target image surrounded by the target image area line 24d as a reference image, the reference image setting switch 23b (CH1) is pressed. Thereby, the target image is set as the first reference image, and the image area is displayed by the reference image area line 24d ′. The reference image setting position is such that the displayed target image area line 24d is changed to the reference image area line 24d ′ in accordance with the depression of the reference image setting switch 23b (CH1) (specifically, the target image setting line 23d). (The blue color of the image area line 24d has changed to the red color of the reference image area line 24d ′), and the reference image area line 24d ′ is fixedly displayed at that position. With this fixed display, the reference image area line 24d ′ does not move even when the inspection position movement switch 23a is operated. Further, the setting operation changes the lighting color of the lighting means 23b ′ of the reference image setting switch 23b (CH1) from the unset orange color to the set green color, and thus the setting of the first reference image is completed. You can confirm that.
If there is no area suitable for selection and setting as the reference image in the captured image area, the captured image movement switch 23d is pressed to change the captured image position, and the operation for selecting and setting the reference image is performed in the same manner. .

このように、第1の基準画像の設定を完了すると、オペレーターは、次に、橙色に点灯している未設定の基準画像設定スイッチ23b(CH2)によって、引き続き同様な作業を行い、第2の基準画像を設定する。
この作業によって、撮像画像領域内に2個の基準画像が設定される。
同様に、基準画像設定スイッチ23b(CH3)により第3の基準画像を設定しても良いが、ここではその作業を省略する。
In this way, when the setting of the first reference image is completed, the operator next performs the same operation by the unset reference image setting switch 23b (CH2) that is lit in orange, and the second reference image is set. Set the reference image.
With this operation, two reference images are set in the captured image area.
Similarly, the third reference image may be set by the reference image setting switch 23b (CH3), but the work is omitted here.

ここで、上記オペレーター作業において、対象画像状態表示手段24aに表示された算出値を観測しながら、その算出値が基準画像として適切な所定範囲の範囲内であるか否かを判断する作業に関しては、次のように行われる。
本実施の形態例においては、この適切な所定範囲を、図6の斜線部に示すように、その基準画像領域内の平均濃度およびコントラストに基づいて設定する。
平均濃度は、該領域内の全画素の明暗の平均値とされており、1画素の明暗は0〜63のレベルで構成されている。乱丁を判定する際の対比判定においては、暗すぎ及び明るすぎに注意する必要があり、したがって最適な範囲は、例えば20〜45である。
コントラストは、該領域内の10画素の最も暗い部分と、同じ領域内の10画素の最も明るい部分との差によって求められる。明暗の差が小さいと、対比判定においてはっきりしない画像となる。したがって最適な範囲は、例えば20〜63である。
このように、本実施の形態例においては、平均濃度およびコントラストがいずれも該最適範囲にある対象画像を、基準画像にふさわしいものとする。
Here, in the above-described operator work, while observing the calculated value displayed on the target image state display means 24a, it is determined whether or not the calculated value is within a predetermined range suitable as a reference image. Is done as follows.
In the present embodiment, the appropriate predetermined range is set based on the average density and contrast in the reference image area, as indicated by the hatched portion in FIG.
The average density is the average value of the brightness of all the pixels in the region, and the brightness of one pixel is composed of 0 to 63 levels. In contrast determination when determining disorder, it is necessary to pay attention to being too dark and too bright. Therefore, the optimum range is, for example, 20 to 45.
The contrast is determined by the difference between the darkest part of 10 pixels in the area and the brightest part of 10 pixels in the same area. If the difference in brightness is small, the image is not clear in the contrast determination. Therefore, the optimal range is, for example, 20 to 63.
As described above, in the present embodiment, the target image whose average density and contrast are both within the optimum range is suitable for the reference image.

したがって、オペレーターは、検査位置移動スイッチ23a(および、必要に応じて撮像画像移動スイッチ23d)の操作によって、撮像画像24の中から基準画像としてふさわしいと思われる位置に対象画像領域線24dを移動させる。そして、その位置の平均濃度およびコントラストを対象画像状態表示手段24aの数値によって確認し、該数値が基準画像としてふさわしい数値範囲内であれば、その位置を、基準画像設定スイッチ23b(CH1〜3)を押下して基準画像位置として設定するのである。
そして、オペレーターがこのように基準画像位置を設定したとしても、設定された基準画像がこのような適切範囲でない場合には、操作パネル上の範囲外選択表示手段24bによって、適切範囲を逸脱する設定が行われたことがオペレーターに対し報知される。オペレーターは、該報知を認識することにより、必要に応じて、当該基準画像をキャンセルして新たに基準画像を再設定する作業を行うか、あるいは第3の基準画像を設定する作業を行う。
Therefore, the operator moves the target image area line 24d from the captured image 24 to a position that seems to be suitable as the reference image by operating the inspection position movement switch 23a (and the captured image movement switch 23d as necessary). . Then, the average density and contrast at the position are confirmed by the numerical values of the target image state display means 24a. If the numerical values are within a numerical range suitable for the reference image, the position is set to the reference image setting switch 23b (CH1 to 3). Is set as the reference image position.
Even if the operator sets the reference image position in this way, if the set reference image is not in such an appropriate range, the setting is made to deviate from the appropriate range by the out-of-range selection display unit 24b on the operation panel. Is notified to the operator. By recognizing the notification, the operator cancels the reference image and resets the reference image as necessary, or sets the third reference image as necessary.

次に、このように2個の基準画像が設定された場合の乱丁検査について説明する。
図1および図4に示すように、スターター15は、ドラム14の一回転毎にスタート信号31を発生させるものであり、駒制御手段22gにおいて、メイン制御手段30aを通して供給される該スタート信号31をカウントアップすることにより、乱丁が発生した場合の駒乱丁検査部20−1〜nにおける当該折丁の特定が可能となる。
また、エンコーダー32はドラム14の回転に同期してパルス信号を発生するものであり、該パルス信号により、折り丁収納手段11に対するドラム14上に設けられた爪の基準位置(回転角度位置)が設定される。
Next, a description will be given of the random inspection when two reference images are set in this way.
As shown in FIGS. 1 and 4, the starter 15 generates a start signal 31 for each rotation of the drum 14, and the piece control means 22g supplies the start signal 31 supplied through the main control means 30a. By counting up, it is possible to specify the signature in the piece irregularity inspection unit 20-1 to 20-n when the irregularity occurs.
The encoder 32 generates a pulse signal in synchronization with the rotation of the drum 14, and the reference position (rotation angle position) of the claw provided on the drum 14 with respect to the signature storing means 11 is determined by the pulse signal. Is set.

そして、図4に示すように、スタート信号31が発生されるタイミングでパルスカウントが開始され、所定のカウントウェイト(期間A)を経たところで、折丁1に対して照明用LED(図示せず)を50ms点灯して折丁画像を撮像し、所定のタイミングで、その折丁1の撮像画像を丁合画像処理手段22aに取り込む。丁合画像処理手段22aは、取り込んだ撮像画像の中から、予め設定された基準画像位置に対応した所定の位置関係に基づいて検査画像位置を特定し、その位置における検査画像情報と上記のように予め設定した基準画像情報とを乱丁判定手段22eにより対比し、乱丁判定を行う。(期間B)
その判定結果は、駒制御手段22gからネットワーク(I/O)を経てメイン制御手段30aに出力されると共に、それぞれの駒乱丁検査部の検査情報記憶手段22fに記憶される。(期間C)
また、折丁1の検査結果は、それぞれの駒乱丁検査部における表示手段24の右側の表示領域24’にデータ表示される。
次の折丁2についても、折丁1と同一のタイミング(期間A,B,C)で乱丁検査を行い、その検査結果が、同様に表示される。
Then, as shown in FIG. 4, pulse counting is started at the timing when the start signal 31 is generated, and when a predetermined count weight (period A) is passed, an illumination LED (not shown) is applied to the signature 1. Is turned on for 50 ms to capture a signature image, and the captured image of the signature 1 is taken into the collation image processing means 22a at a predetermined timing. The collation image processing means 22a specifies the inspection image position based on a predetermined positional relationship corresponding to a preset reference image position from the captured image, and the inspection image information at the position and the above-described information. The reference image information set in advance is compared with the disorder determination unit 22e to determine the disorder. (Period B)
The determination result is output from the piece control means 22g to the main control means 30a via the network (I / O) and is also stored in the inspection information storage means 22f of each piece irregularity inspection unit. (Period C)
Further, the inspection result of the signature 1 is displayed as data in the display area 24 'on the right side of the display means 24 in each piece irregularity inspection unit.
The next signature 2 is also checked for randomness at the same timing (periods A, B, C) as the signature 1, and the inspection result is displayed in the same manner.

この第1の実施の形態例では、1つの折丁に対し、2つの基準画像をそれぞれに対応する検査画像と対比するために画像取得を行う。
このため、1つの折丁に対し、図4に示すように、前記期間Bに対応して行う画像取得(b)と共に、基準画像位置に対応して予め設定されたタイミングで画像取得(b’)を行って所定の検査領域を有する2個の検査画像を取得するか(例1)、或いは、前記期間Bにおいて、2つの基準画像領域を含むように、例1における所定の検査領域よりも比較的大きな検査領域を有する1個の検査画像を取得するか(例2)、を行う。
例1及び例2のいずれでも良いが、例2の場合には、基準画像が接近して配置されて1つの検査画像領域内に位置することとなるので、基準画像が例えば「シカ」と「ツカ」などのように近似している場合には、対比判断する際に2つの基準画像を混同して判断してしまう恐れが生じる。
一方、例1のように2つの検査画像を取得する場合には、検査画像を別々に対比判断するのでこのような混同は生じないが、基準画像が接近している場合でも2個の検査画像領域が選択されるので、例2と比較すると大きな検査領域となってしまい、検査処理に負担が掛かる恐れがある。
In the first embodiment, image acquisition is performed for one signature to compare the two reference images with the corresponding inspection images.
Therefore, as shown in FIG. 4, for one signature, image acquisition (b ') corresponding to the reference image position is performed together with image acquisition (b) performed corresponding to the period B (b'). ) To obtain two inspection images having a predetermined inspection area (Example 1), or more than the predetermined inspection area in Example 1 so as to include two reference image areas in the period B Whether one inspection image having a relatively large inspection area is acquired (Example 2).
Either Example 1 or Example 2 may be used, but in the case of Example 2, since the reference image is arranged close to each other and located in one inspection image region, the reference images are “deer” and “ In the case of approximation such as “tsuka”, there is a possibility that two reference images may be mixed and determined when making a comparison determination.
On the other hand, when two inspection images are acquired as in Example 1, such a confusion does not occur because the inspection images are separately compared, but even when the reference image is close, two inspection images Since the region is selected, it becomes a large inspection region as compared with Example 2, and there is a risk that the inspection processing is burdened.

次に、そのように取得された検査画像と、基準画像とを対比する一致率判定について説明する。
本実施の形態例では、図5に示すように、検査画像領域内において基準画像に相当する画像の画像位置の特定を、粗サーチ及び微調サーチの2段階で行うことで効率化している。
まず、粗サーチにより、基準画像に相当する画像のおおよその位置特定を行う。具体的には、検査画像領域を16分割した1つの分割枠領域(該分割枠領域は、縦(Y)方向13画素、横(X)方向20画素から構成されている。)に対し、1/4の粗さでY方向2画素、X方向1画素でシフトしつつ(S1)、基準画像との一致率が最大となる位置(基準画像との重ね合わせが最大となる点)を検出する(S2)。
次に、該粗サーチにより得られた座標の周囲を、サーチ粗さを粗くしないで微調サーチを行い(S3)、最も一致する位置を検出する(S4)。
次に、この微調サーチによって画像位置が特定できると、当該分割枠領域での基準画像に相当する画像の形状判定を行う(S5)。具体的には、基準画像から中間調領域を除去し、明るい部分と暗い部分のみを撮像画像と比較し、一致率を算出する。
次に、この作業を分割枠数分、繰り返し(S7)、分割枠数(16個)分のそれぞれの一致率を求め、それらの内から最も低い値を基準画像との一致率とする(S8)。
Next, the coincidence rate determination for comparing the inspection image thus acquired with the reference image will be described.
In the present embodiment, as shown in FIG. 5, the image position of the image corresponding to the reference image in the inspection image region is specified in two stages, ie, a coarse search and a fine adjustment search, thereby improving efficiency.
First, an approximate position of an image corresponding to the reference image is specified by a coarse search. Specifically, one divided frame region obtained by dividing the inspection image region into 16 (the divided frame region is composed of 13 pixels in the vertical (Y) direction and 20 pixels in the horizontal (X) direction). The position where the coincidence rate with the reference image is maximized (the point where the overlay with the reference image is maximized) is detected while shifting by 2 pixels in the Y direction and 1 pixel in the X direction with a roughness of / 4 (S1). (S2).
Next, a fine search is performed around the coordinates obtained by the rough search without making the search roughness rough (S3), and the most coincident position is detected (S4).
Next, when the image position can be specified by the fine search, the shape of the image corresponding to the reference image in the divided frame region is determined (S5). Specifically, the halftone area is removed from the reference image, and only the bright part and the dark part are compared with the captured image to calculate the coincidence rate.
Next, this operation is repeated for the number of divided frames (S7), and the respective matching rates for the number of divided frames (16) are obtained, and the lowest value among them is set as the matching rate with the reference image (S8). ).

このようにして、1つの基準画像に対する一致率が求められると、もう1つの基準画像に対しても、同様に一致率を求める。
そして、それら一致率を用いて、乱丁判定手段22eによる乱丁判定を行う。
本発明では、それぞれの基準画像に対する一致率に基づく合否判定を、従来よりも低く設定した閾値(この2個の基準画像を用いる実施例では、80%としている。)に基づいて行うことができる。
この乱丁判定手段22eによる乱丁判定は、2個の基準画像に対する一致率が、いずれも、このように低く設定された閾値をクリアし、合格と判断された場合には、乱丁の発生がないものとする。
これに対し、1個以上が不合格と判断された場合には、次のように判定する。つまり、2個とも不合格の場合は直ちに乱丁発生と判定し、1個が不合格である場合は、その状態が連続して発生することを条件として乱丁発生と判定する。
When the coincidence rate for one reference image is obtained in this way, the coincidence rate is similarly obtained for the other reference image.
Then, using the coincidence rate, the disorder determination by the disorder determination unit 22e is performed.
In the present invention, the acceptance / rejection determination based on the coincidence rate with respect to each reference image can be performed based on a threshold value set lower than in the past (80% in the embodiment using these two reference images). .
In this disorder determination by the disorder determination means 22e, the match rate with respect to the two reference images clears the threshold value set so low, and if it is determined to pass, there is no occurrence of disorder. And
On the other hand, when one or more are determined to be unacceptable, the determination is made as follows. In other words, if both of them fail, it is immediately determined that there is a disorder, and if one of them fails, it is determined that the disorder occurs on the condition that the state continuously occurs.

次に、本件発明の第2の実施の形態例を説明する。
この第2の実施形態例では、複数の基準画像の設定が自動的に行えるように構成されている。
筐体28には、図3に示すように、基準画像設定スイッチ23bのCH1〜CH3が設けられており、該スイッチは、撮像チャンネル選択スイッチ機能を有するよう構成されている。そしてこの機能は、自動選択スイッチ23cを押下することで働くように構成されている。
この機能が働く場合、この基準画像設定スイッチ(撮像チャンネル選択スイッチ)CH1〜CH3は、それぞれ、折丁の撮像エリア内のそれぞれの所定位置を基準画像位置として自動的に選択設定するスイッチとなり、例えば該スイッチCH1を押下すると、撮像エリア内のエンコーダカウントタイミングで、図4に示すエンコーダカウントt10〜t29の画像領域を基準画像領域として選択し、スイッチCH2を押下すると、エンコーダカウントt30〜t49の画像領域を基準画像領域として選択し、スイッチCH3を押下すると、エンコーダカウントt50〜t69の画像領域を基準画像領域として選択するように構成されている。
Next, a second embodiment of the present invention will be described.
In the second embodiment, a plurality of reference images can be set automatically.
As shown in FIG. 3, the housing 28 is provided with CH1 to CH3 of the reference image setting switch 23b, and the switch is configured to have an imaging channel selection switch function. This function is configured to work by pressing the automatic selection switch 23c.
When this function is activated, the reference image setting switches (imaging channel selection switches) CH1 to CH3 are switches for automatically selecting and setting each predetermined position in the imaging area of the signature as a reference image position. When the switch CH1 is pressed, the image area of the encoder counts t10 to t29 shown in FIG. 4 is selected as the reference image area at the encoder count timing in the imaging area, and when the switch CH2 is pressed, the image area of the encoder counts t30 to t49 is selected. Is selected as the reference image area, and when the switch CH3 is pressed, the image area of encoder counts t50 to t69 is selected as the reference image area.

この際、そのように選択した画像領域の平均濃度及びコントラストが対象画像状態検出手段22bによって求められ、該数値が図6に示す適正範囲でない場合には、この画像取込位置をX方向又はY方向に領域面積に対し自動的に10%ずつシフトさせ、このシフトが適正範囲に入るまで行われる。
したがって、自動選択スイッチ23cを押下して自動選択モードに変更した後、撮像チャンネル選択スイッチCH1〜CH3を押下すると、押下したチャンネル毎に基準画像領域が設定される。
そして、その設定位置は、基準画像領域線24d’によって表示手段24上に表示されるとともに、撮像チャンネル選択スイッチCH1〜CH3にそれぞれ付属する点灯手段23b’の発光色によって、当該基準画像の設定状況および検査状況を区別することができるように構成されている。
なお、この実施形態例では、3個の撮像チャンネル選択スイッチCH1〜CH3が設けられているが、第1の実施の形態例と同様に、最低2個でよい。
また、このように設定された基準画像と検査画像との対比判定は、前記第1の実施の形態例と同様に行うことができる。
At this time, if the average density and contrast of the image area thus selected are obtained by the target image state detection means 22b and the numerical values are not within the proper range shown in FIG. 6, the image capture position is set in the X direction or Y direction. The direction is automatically shifted by 10% with respect to the area of the region, and this shift is performed until it falls within the proper range.
Therefore, when the imaging channel selection switches CH1 to CH3 are pressed after the automatic selection switch 23c is pressed to change to the automatic selection mode, a reference image area is set for each pressed channel.
The setting position is displayed on the display unit 24 by the reference image region line 24d ′, and the setting state of the reference image is determined by the emission color of the lighting unit 23b ′ attached to each of the imaging channel selection switches CH1 to CH3. And inspection status can be distinguished.
In this embodiment, three imaging channel selection switches CH1 to CH3 are provided, but at least two may be used as in the first embodiment.
Further, the comparison determination between the reference image set in this way and the inspection image can be performed in the same manner as in the first embodiment.

以上記載したように、本発明では、検査画像に対する基準画像の一致率閾値を従来の90%程度から80%程度へと低く設定することが可能となることにより、検査時における外光の変化や、丁合搬送時の用紙の撓みや歪みなどに影響することのない、安定した検査結果を得ることのできる丁合検査装置を提供することができる。
また、撮像画像の内から検査に適した基準画像を選択するにあたって迅速な作業ができ、しかも、隣接駒間との類似性の低い部分の抽出をする必要がなく、対象画像における特徴部分の抽出も特にする必要がないので、装置自体のコストパフォーマンスに優れた丁合検査装置を提供することができる。
As described above, in the present invention, it is possible to set the matching rate threshold of the reference image with respect to the inspection image to be low from about 90% to about 80%, so that the change in external light during inspection or Thus, it is possible to provide a collation inspection apparatus that can obtain a stable inspection result without affecting the bending or distortion of the paper during the collation conveyance.
In addition, it is possible to perform a quick operation in selecting a reference image suitable for inspection from among captured images, and it is not necessary to extract a portion having low similarity with adjacent frames, and it is possible to extract a feature portion in the target image. Therefore, it is possible to provide a collation inspection apparatus excellent in cost performance of the apparatus itself.

なお、本発明は上述した実施形態例1又は2に限定されることはなく、特許請求の範囲に記載された発明の技術思想の範囲で様々な変形が可能である。変形例としては、例えば以下のものがある。
(1)上述した実施形態では、複数(2個)の撮像エリア内にそれぞれ1個の基準画像位置を設定したが、これに限ることなく、図4の例2に示すように、1つの撮像エリア内に複数個(2個)の基準画像位置を設定するように構成することもできる。但し、1つの撮像エリア内に複数個の基準画像位置を設定する場合には、それら基準画像位置が近接することにより基準画像が近似してしまう恐れが生ずるので、本発明が比較的ラフな基準画像設定を可能とするものであるとしても、基準画像判定手段による確認がより重要になる。
The present invention is not limited to the first or second embodiment described above, and various modifications are possible within the scope of the technical idea of the invention described in the claims. Examples of modifications include the following.
(1) In the above-described embodiment, one reference image position is set in each of a plurality (two) of imaging areas. However, the present invention is not limited to this, and as shown in Example 2 in FIG. A plurality (two) of reference image positions may be set in the area. However, when a plurality of reference image positions are set in one imaging area, the reference image may be approximated by the proximity of the reference image positions. Even if the image can be set, confirmation by the reference image determination means becomes more important.

(2)上記の実施形態例では丁合対象をモノクロ画像として説明したが、カラー画像を対象としても、同様に、丁合検査装置を構成することができる。 (2) Although the collation target has been described as a monochrome image in the above embodiment, a collation inspection apparatus can be configured similarly for a color image as well.

(3)上記の実施形態例では基準画像を2個として説明したが、2個以上であれば良く、例えば3個以上とした場合には、乱丁の発生を検出する場合の判定基準を変更することができる。例えば、3個の場合には、何れか2個の基準画像が所定の一致率でよい、などとすることができる。 (3) In the above embodiment, two reference images have been described. However, it is sufficient that the number is two or more. For example, when the number is three or more, the criterion for detecting the occurrence of disorder is changed. be able to. For example, in the case of three, any two reference images may have a predetermined matching rate.

(4)上記実施の形態例では、基準画像と検査画像のパターンマッチング法として重ね合わせの部分が最大となる一致点を求める方法、いわゆる残差マッチング方法を用いているが、他の、例えば、正規化相関値法などを使用することもできる。
いずれにしても、パターンマッチングでの一致率の閾値を下げて設定することができる点では、同一である。
(4) In the above embodiment, a method for obtaining a coincidence point at which the overlapped portion becomes the maximum, that is, a so-called residual matching method, is used as a pattern matching method between the reference image and the inspection image. A normalized correlation value method or the like can also be used.
In any case, it is the same in that the threshold value of the matching rate in pattern matching can be set lower.

(5)上記実施の形態例では、それぞれの基準画像でエラーレベル(一致率)を所定のレベル(初期値として、80%)に統一しているが、基準画像毎にエラーレベルを設定することができるように構成することもできる。例えば、コントラストがはっきりした文字画像領域が基準画像として選択されている場合には、エラーレベルを前記初期値より高くするなどにより、より高いエラーレベルとすることにより、より信頼性の高い乱丁検査装置とすることができる。このため、対象画像状態検出手段22bにおける算出値に対応させてエラーレベルを自動的に変更するように構成することもできる。
さらには、基準画像設定数に応じて、エラーレベルを更に低く設定することもできる。例えば、3個の場合には、何れか2個の基準画像が所定の一致率でよい、などとする場合には、該所定の一致率の閾値をさらに低く設定することができる。
(5) In the above embodiment, the error level (coincidence rate) is standardized to a predetermined level (80% as an initial value) in each reference image, but an error level is set for each reference image. It can also be configured to be able to. For example, when a character image area with clear contrast is selected as the reference image, the error level is set to a higher error level by setting the error level higher than the initial value. It can be. For this reason, the error level can be automatically changed according to the calculated value in the target image state detection means 22b.
Furthermore, the error level can be set lower according to the number of reference image settings. For example, in the case of three, if any two reference images may have a predetermined coincidence rate, the threshold of the predetermined coincidence rate can be set lower.

10 丁合装置
10−1〜n 丁合駒装置
20 乱丁検査装置
21 撮像手段(撮像装置)
22a 丁合画像処理手段
22b 対象画像状態検出手段
22c 基準画像判定手段
22d 基準画像設定手段
22e 乱丁判定手段
23 入力操作手段
23b 基準画像設定スイッチ(撮像チャンネル選択スイッチ)
23c 自動選択スイッチ
24 表示手段
24a 対象画像状態表示手段
24b 範囲外選択表示手段
28 筐体
30 ライン制御ユニット
DESCRIPTION OF SYMBOLS 10 Collating apparatus 10-1-n Collating piece apparatus 20 Random collation inspection apparatus 21 Imaging means (imaging apparatus)
22a Collation image processing means 22b Target image state detection means 22c Reference image determination means 22d Reference image setting means 22e Randomity determination means 23 Input operation means 23b Reference image setting switch (imaging channel selection switch)
23c Automatic selection switch 24 Display means 24a Target image state display means 24b Out-of-range selection display means 28 Case 30 Line control unit

Claims (5)

複数の丁合駒を有する丁合装置に設けられ、前記丁合駒から1部ずつ取り出された折丁の印刷面の一部を検査画像として撮像し、該検査画像と予め記憶された基準画像とを比較して乱丁を検査する乱丁検査装置であって、
前記折丁の印刷面の一部を撮像する撮像手段と、前記撮像手段で撮像された撮像画像の一部を切り取った対象画像から複数の前記基準画像を設定する基準画像設定手段と、前記複数の各基準画像と前記検査画像とをそれぞれ対比して乱丁を判定する乱丁判定手段と、前記対象画像における画像状態を検出する対象画像状態検出手段と、を有し、
前記複数の基準画像は、前記対象画像状態検出手段における検出結果に基づいて選択されることを特徴とする乱丁検査装置。
A part of the printing surface of the signature that is provided in the collating apparatus having a plurality of collating pieces and is taken out one by one from the collating piece is picked up as an inspection image, and the inspection image is compared with a pre-stored reference image. An inspection device for inspecting random characters,
Imaging means for imaging a part of the print surface of the signature; reference image setting means for setting a plurality of reference images from a target image obtained by cutting out a part of the captured image captured by the imaging means; Each of the reference image and the inspection image, respectively, a disorder determination unit that determines disorder, and a target image state detection unit that detects an image state in the target image,
The irregularity inspection apparatus, wherein the plurality of reference images are selected based on a detection result in the target image state detection means.
請求項1において、前記対象画像状態検出手段は、前記対象画像における平均濃度およびコントラストを算出する手段であり、前記対象画像状態検出手段による検出結果を表示する対象画像状態表示手段を有することを特徴とする乱丁検査装置。   2. The target image state detecting means according to claim 1, wherein the target image state detecting means is means for calculating an average density and contrast in the target image, and has target image state display means for displaying a detection result by the target image state detecting means. Random inspection device. 請求項1又は2において、前記対象画像状態検出手段における検出結果が基準画像として適切な所定範囲の範囲内であるか否かを判定する基準画像判定手段を有し、前記基準画像設定手段は、前記基準画像判定手段が基準画像として適切であると判定した前記対象画像を前記基準画像として選択することを特徴とする乱丁検査装置。   The reference image determination unit according to claim 1 or 2, further comprising a reference image determination unit that determines whether or not a detection result in the target image state detection unit is within a predetermined range suitable as a reference image. An irregularity inspection apparatus, wherein the target image determined by the reference image determination means to be appropriate as a reference image is selected as the reference image. 請求項1〜3において、前記基準画像設定手段によって前記平均濃度あるいはコントラストが所定範囲外である対象画像を基準画像として選択した場合、選択した当該基準画像が前記所定範囲外であることを注意表示する範囲外選択表示手段を有することを特徴とする乱丁検査装置。   4. The caution display according to claim 1, wherein when the target image having the average density or contrast outside a predetermined range is selected as a reference image by the reference image setting means, the selected reference image is outside the predetermined range. An out-of-range selection display means is provided. 請求項1〜4において、前記基準画像設定手段によって設定する前記基準画像数を2個とし、前記乱丁判断手段は、前記設定した2個の基準画像と該2個の基準画像に対応する検査画像とを比較して、該2個の検査画像がいずれも所定の一致率以上で一致した場合に、正常な丁合が行われたと判断することを特徴とする乱丁検査装置。
5. The number of reference images set by the reference image setting means is two according to claim 1, and the disorder determination means is configured to check the two reference images set and the inspection images corresponding to the two reference images. And the two inspection images are judged to have been correctly collated when both of them coincide with each other at a predetermined coincidence rate or more.
JP2010271735A 2010-12-06 2010-12-06 Random inspection device Active JP5577533B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010271735A JP5577533B2 (en) 2010-12-06 2010-12-06 Random inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010271735A JP5577533B2 (en) 2010-12-06 2010-12-06 Random inspection device

Publications (2)

Publication Number Publication Date
JP2012121166A true JP2012121166A (en) 2012-06-28
JP5577533B2 JP5577533B2 (en) 2014-08-27

Family

ID=46503173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010271735A Active JP5577533B2 (en) 2010-12-06 2010-12-06 Random inspection device

Country Status (1)

Country Link
JP (1) JP5577533B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1148636A (en) * 1997-08-05 1999-02-23 Toppan Printing Co Ltd Incorrect collating inspection method and its device
JP2000158843A (en) * 1998-11-25 2000-06-13 Horizon International Kk Gathering machine
JP2007136925A (en) * 2005-11-21 2007-06-07 Yamatake Corp Incorrect collating inspection equipment
JP2009149416A (en) * 2007-12-20 2009-07-09 Kita Denshi Corp Incorrect collating inspection device equipped with maintenance informing means to bookbinding device
JP2009255409A (en) * 2008-04-17 2009-11-05 Horizon International Inc Imperfect collating detection device
JP2009292088A (en) * 2008-06-06 2009-12-17 Duplo Corp Erratic collating sensor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1148636A (en) * 1997-08-05 1999-02-23 Toppan Printing Co Ltd Incorrect collating inspection method and its device
JP2000158843A (en) * 1998-11-25 2000-06-13 Horizon International Kk Gathering machine
JP2007136925A (en) * 2005-11-21 2007-06-07 Yamatake Corp Incorrect collating inspection equipment
JP2009149416A (en) * 2007-12-20 2009-07-09 Kita Denshi Corp Incorrect collating inspection device equipped with maintenance informing means to bookbinding device
JP2009255409A (en) * 2008-04-17 2009-11-05 Horizon International Inc Imperfect collating detection device
JP2009292088A (en) * 2008-06-06 2009-12-17 Duplo Corp Erratic collating sensor

Also Published As

Publication number Publication date
JP5577533B2 (en) 2014-08-27

Similar Documents

Publication Publication Date Title
US20120200596A1 (en) Tablet inspection support method and tablet inspection support apparatus
CN104077584B (en) Image review systems and image checking method
US9978136B2 (en) Medicine packet inspection apparatus and method
KR101117472B1 (en) Apparatus and Method for Visual Inspection
US10083364B2 (en) Method and apparatus for removing character background from colored image
CN101250783A (en) Device for distinguishing spools on the basis of their yarn content
TWI467500B (en) The detection method of the led of using the digital image
JP2016055954A (en) Portable information terminal, information processing method, and program
JP3866688B2 (en) Inspection device for film carrier tape for mounting electronic components and method for checking pattern defects
JP2007285880A (en) Sample image registration method in board inspection, and sample image producing system
JP2015180981A (en) Device for detecting loading state and method for detecting loading state of bundled paper
JP2007238324A (en) Method of detecting abnormal condition of folded paper
JP5577533B2 (en) Random inspection device
CN107084989B (en) Method and system for adding AOI device database
JP2019051029A (en) Method of testing game nails
CN107271145A (en) The detection method and system of display unit
JP6699694B2 (en) Inspection system, inspection method
KR100807656B1 (en) A banknote identifying machine and banknote identifying method
JP2017003352A (en) Detecting device for faulty rubber adhesion of topping rubber sheets
JP5555862B2 (en) Random inspection machine monitoring device and control method thereof
CN113709065A (en) Automatic detection method, system, equipment and storage medium for panel light of switch
JP6447860B2 (en) Random inspection device
JP2012063320A (en) Inspection equipment for paper cup, and method thereof
US11322058B2 (en) Device management apparatus, device managing method, and program
JP6729351B2 (en) How to check the number of tubes

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140501

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140617

R150 Certificate of patent or registration of utility model

Ref document number: 5577533

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250