JP2011085424A - X-ray inspection method and x-ray inspection device using the same - Google Patents

X-ray inspection method and x-ray inspection device using the same Download PDF

Info

Publication number
JP2011085424A
JP2011085424A JP2009236590A JP2009236590A JP2011085424A JP 2011085424 A JP2011085424 A JP 2011085424A JP 2009236590 A JP2009236590 A JP 2009236590A JP 2009236590 A JP2009236590 A JP 2009236590A JP 2011085424 A JP2011085424 A JP 2011085424A
Authority
JP
Japan
Prior art keywords
inspection
ray
length
image
ray image
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.)
Pending
Application number
JP2009236590A
Other languages
Japanese (ja)
Inventor
Hiroaki Ozawa
弘明 小澤
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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP2009236590A priority Critical patent/JP2011085424A/en
Publication of JP2011085424A publication Critical patent/JP2011085424A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length-Measuring Devices Using Wave Or Particle Radiation (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an highly-reliable X-ray inspection device which properly inspects the length in a predetermined direction, bering a characteristic value, of an object to be inspected, regardless of the direction or inclination of the object to be inspected. <P>SOLUTION: The extraction part 23 of the X-ray inspection device has a reference direction calculation part 231 for calculating the reference direction of the image region (inspection region) of the inspection target contained in the X-ray image sent from an image processing part 22, an inspection direction forming part 232 for forming one or a plurality of directions, which is rotated by predetermined angle from the reference direction calculated in the reference direction calculation part 231, as an inspection direction and a length calculation part 233 for extracting the length of the inspection region in the inspection direction formed in the inspection direction forming part 232 as feature quantity. Since the direction for performing inspection is determined on the basis of the reference direction in the extraction part 23, the length in each direction of the inspection target can be properly calculated regardless of the inclination of the inspection target. As a result, X-ray inspection of high reliability can be performed. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、検査対象となる物品(以下、これを「被検査物」と称す)に対し、X線画像から得られる特徴量を用いて、欠陥検査等の検査を行うX線検査装置に関する。   The present invention relates to an X-ray inspection apparatus that performs inspection such as defect inspection on an article to be inspected (hereinafter referred to as “inspected object”) using a feature amount obtained from an X-ray image.

X線検査装置はX線を物品に照射し、そのX線透過量をX線検出器で測定して、それに基づきX線画像を作成することにより、非破壊で物品の内部を検査する装置である。その用途としては、例えば、包装された商品の内容物に異物が混入していないかを検査する異物混入検査、内容物が所定の個数を備えているかを検査する個数検査、内容物にひび割れ等の欠陥が発生していないかを検査する欠陥検査などがある。これらの検査は食品、医薬品、工業部品等の様々な物品に対して行われる。   An X-ray inspection device is a device that non-destructively inspects the interior of an article by irradiating the article with X-rays, measuring the amount of X-ray transmission with an X-ray detector, and creating an X-ray image based on the X-ray detector. is there. For example, foreign matter contamination inspection for inspecting whether foreign matter is not mixed in the contents of the packaged product, number inspection for inspecting whether the content has a predetermined number, cracks in the content, etc. There is a defect inspection for inspecting whether or not a defect has occurred. These inspections are performed on various articles such as food, pharmaceuticals, and industrial parts.

X線検査装置は、X線透視装置とX線CT(Computed Tomography)装置の2種類に大別される。このうちX線透視装置はX線照射源及びX線検出器を固定してX線透過画像を得るのに対して、X線CT装置は、X線照射源及びX線検出器を被検査物の周囲で移動させてその全周を走査し、各方向で測定されたX線透過量のデータをフーリエ変換で再構成することにより、内部構造の断層像を得るものである。   X-ray inspection apparatuses are roughly classified into two types: X-ray fluoroscopy apparatuses and X-ray CT (Computed Tomography) apparatuses. Among these, the X-ray fluoroscopic apparatus obtains an X-ray transmission image by fixing the X-ray irradiation source and the X-ray detector, whereas the X-ray CT apparatus sets the X-ray irradiation source and the X-ray detector to be inspected. The X-ray transmission amount data measured in each direction is reconstructed by Fourier transform to obtain a tomographic image of the internal structure.

X線透視装置はX線照射源及びX線検出器を固定しているため、X線CT装置に比べて情報量は少ないものの、迅速に被検査物の検査を実行できるという特徴を有している。そのため、ベルトコンベア等により連続的に搬送される物品の連続検査に多く利用されている。例えば、特許文献1には、コンベアの上方にX線照射器を、下方にX線ラインセンサをそれぞれ配置(固定)したX線検査装置が記載されている。この特許文献1のX線検査装置では、コンベア上方のX線照射器から扇状に放射されたX線をコンベア下方のX線ラインセンサで検出しており、これによりコンベア上を搬送されてきた被検査物のX線画像を順次生成していくことができる。さらに、X線画像から搬送方向の長さや幅等の特徴量を抽出して、各々の特徴量を個別に基準値(許容範囲)と比較することにより、被検査物の連続検査を行うことができる。   Since the X-ray fluoroscopy device has an X-ray irradiation source and an X-ray detector fixed, the amount of information is less than that of the X-ray CT device, but the inspection object can be quickly inspected. Yes. Therefore, it is frequently used for continuous inspection of articles continuously conveyed by a belt conveyor or the like. For example, Patent Document 1 describes an X-ray inspection apparatus in which an X-ray irradiator is disposed (fixed) above a conveyor and an X-ray line sensor is disposed below (fixed). In the X-ray inspection apparatus disclosed in Patent Document 1, X-rays radiated in a fan shape from an X-ray irradiator above a conveyor are detected by an X-ray line sensor below the conveyor, whereby the object that has been conveyed on the conveyor is detected. X-ray images of the inspection object can be sequentially generated. Furthermore, it is possible to continuously inspect the inspection object by extracting feature amounts such as length and width in the transport direction from the X-ray image and individually comparing each feature amount with a reference value (allowable range). it can.

特開2006−098195号公報JP 2006-098195 A

この種の連続検査では、一般的に、被検査物はコンベア上に載置されるだけで、固定はされないことが多い。このような場合、被検査物の向き(姿勢)が検査のたびに異なってしまう。従って、搬送方向の長さやその幅(搬送方向と直交する方向の長さ)など、搬送方向を基準として長さを算出すると、同じ被検査物を検査しても、被検査物の向きによって値が変動するため、検査の信頼性が低下してしまう。   In this type of continuous inspection, in general, the object to be inspected is merely placed on a conveyor and is not fixed in many cases. In such a case, the direction (posture) of the object to be inspected is different for each inspection. Therefore, if the length is calculated based on the transport direction, such as the length in the transport direction and its width (the length in the direction perpendicular to the transport direction), the value depends on the orientation of the test object even if the same object is inspected. As a result, the reliability of the inspection decreases.

本発明が解決しようとする課題は、所定の方向の長さ(以下、「方向長さ」と称す)を特徴量として適切に抽出することができる、信頼性の高いX線検査装置を提供することである。   A problem to be solved by the present invention is to provide a highly reliable X-ray inspection apparatus capable of appropriately extracting a length in a predetermined direction (hereinafter referred to as “direction length”) as a feature amount. That is.

上記課題を解決するために成された本発明に係るX線検査方法は、
被検査物にX線を照射して、その透過量を測定することにより、X線画像を生成し、所定の特徴量を該X線画像から抽出して、該被検査物の良否判定を行うX線検査方法において、
X線画像に映った被検査物の基準方向を算出し、
前記基準方向から所定の角度だけ回転させた1又は複数の方向を検査方向として生成し、
前記検査方向における被検査物の長さを特徴量として抽出し、
前記長さを所定の許容範囲と比較して被検査物の良否を判定する、
ことを特徴とする。
An X-ray inspection method according to the present invention made to solve the above problems is as follows:
An X-ray image is generated by irradiating the inspection object with X-rays and measuring the amount of transmission, and a predetermined feature amount is extracted from the X-ray image to determine whether the inspection object is good or bad. In the X-ray inspection method,
Calculate the reference direction of the object in the X-ray image,
One or more directions rotated by a predetermined angle from the reference direction are generated as inspection directions,
Extract the length of the inspection object in the inspection direction as a feature amount,
Compare the length with a predetermined allowable range to determine the quality of the inspection object,
It is characterized by that.

また、上記課題を解決するために成された本発明に係るX線検査装置は、
被検査物にX線を照射して、その透過量を測定することにより、X線画像を生成し、所定の特徴量を該X線画像から抽出して、該被検査物の良否判定を行うX線検査装置において、
X線画像に映った被検査物の基準方向を算出する基準方向算出手段と、
前記基準方向から所定の角度だけ回転させた1又は複数の方向を検査方向として生成する検査方向生成手段と、
前記検査方向における被検査物の長さを特徴量として抽出する長さ算出手段と、
前記長さを所定の許容範囲と比較して被検査物の良否を判定する良否判定手段と、
を有していることを特徴とする。
Further, an X-ray inspection apparatus according to the present invention made to solve the above problems is
An X-ray image is generated by irradiating the inspection object with X-rays and measuring the amount of transmission, and a predetermined feature amount is extracted from the X-ray image to determine whether the inspection object is good or bad. In X-ray inspection equipment,
A reference direction calculation means for calculating a reference direction of the inspection object shown in the X-ray image;
Inspection direction generation means for generating one or a plurality of directions rotated by a predetermined angle from the reference direction as an inspection direction;
A length calculating means for extracting the length of the inspection object in the inspection direction as a feature quantity;
Pass / fail judgment means for judging pass / fail of the object to be inspected by comparing the length with a predetermined allowable range;
It is characterized by having.

なお、前記基準方向は、例えば被検査物の慣性主軸、慣性副軸、最小フェレ径方向、最大フェレ径方向など、様々な基準により算出することができる。   The reference direction can be calculated according to various standards such as the inertia main axis, inertia sub axis, minimum ferret diameter direction, and maximum ferret diameter direction of the inspection object.

また、これらのX線検査方法又はX線検査装置で生成されるX線画像は、搬送速度や撮影の設定によって、縦横の伸縮率が異なっている場合がある。このような場合、縦横の伸縮率を考慮して被検査物の検査方向及びその方向長さを算出することが望ましい。   In addition, X-ray images generated by these X-ray inspection methods or X-ray inspection apparatuses may have different vertical and horizontal expansion ratios depending on the conveyance speed and imaging settings. In such a case, it is desirable to calculate the inspection direction and the length of the inspection object in consideration of the vertical and horizontal expansion / contraction ratios.

本発明に係るX線検査方法及びX線検査装置によれば、X線画像に映った被検査物の基準方向を算出し、その基準方向から所定の角度だけ回転させた方向の長さを特徴量として抽出する。これにより、被検査物の傾きによらず、方向長さを適切に特徴量として用いることができ、信頼性の高い良否判定を行うことが可能となる。   According to the X-ray inspection method and the X-ray inspection apparatus according to the present invention, the reference direction of the inspection object shown in the X-ray image is calculated, and the length of the direction rotated by a predetermined angle from the reference direction is characterized. Extract as a quantity. Accordingly, the direction length can be appropriately used as the feature amount regardless of the inclination of the object to be inspected, and it is possible to perform pass / fail determination with high reliability.

本発明に係るX線検査装置の一実施例の構成を示すブロック図。The block diagram which shows the structure of one Example of the X-ray inspection apparatus which concerns on this invention. 本実施例のX線検査装置の動作の手順を示すフローチャート。The flowchart which shows the procedure of operation | movement of the X-ray inspection apparatus of a present Example. ホッチキスの針の取り付け不良検査で生成されたX線画像の一例を示す図。The figure which shows an example of the X-ray image produced | generated by the attachment defect inspection of the stapler. ホッチキスの針の取り付け不良検査で生成されたX線画像の別の一例を示す図。The figure which shows another example of the X-ray image produced | generated by the attachment defect inspection of the stapler. X線画像に2値化処理を施した図。The figure which performed the binarization process to the X-ray image. X線画像中の各検査領域における慣性主軸と該慣性主軸方向における長さを示した図。The figure which showed the principal axis of inertia in each inspection area | region in an X-ray image, and the length in this inertial principal axis direction. 長さの算出方向及びその長さの範囲を表示したX線画像の一例を示す図。The figure which shows an example of the X-ray image which displayed the length calculation direction and the range of the length. 本実施例のX線検査装置の一変形例の構成を示すブロック図。The block diagram which shows the structure of the modification of the X-ray inspection apparatus of a present Example.

従来のX線検査方法における方向長さの算出は、搬送方向長さと幅(搬送方向に直交する方向の長さ)に対して行われることが多い。これを図3に示した製本時のホッチキス(ステイブラー)の取り付け不良の検査を例に説明する。なお、図3はホッチキスの針が取り付けられた本のX線画像であり、2箇所に留められたホッチキスの針が検査対象(被検査物)となる。また、図中の被検査物1が正常に取り付けられた針、被検査物2が取り付け不良の針である。   The calculation of the direction length in the conventional X-ray inspection method is often performed with respect to the length and width in the transport direction (the length in the direction orthogonal to the transport direction). This will be described by taking as an example the inspection of a staple (stabbler) attachment failure at the time of bookbinding shown in FIG. FIG. 3 is an X-ray image of a book with staples attached thereto, and staples stapled at two locations are inspection objects (inspected objects). Further, the inspected object 1 in the figure is a normally attached needle, and the inspected object 2 is a poorly attached needle.

従来のX線検査方法では、被検査物1及び2が正常品であるか否かを、その搬送方向長さ及び幅が、予備実験等により予め学習された所定の許容範囲内に含まれているか否かで判定する。被検査物2は針の足が外側に飛び出しているため、これらの長さが大きくなり、前記許容範囲を逸脱してしまう。従って、被検査物2は取り付け不良と判定される。   In the conventional X-ray inspection method, whether or not the inspected objects 1 and 2 are normal products and the length and width in the transport direction are included in a predetermined tolerance range that has been learned in advance by a preliminary experiment or the like. Judgment is made by whether or not. Since the inspected object 2 has the needle foot protruding outward, the length of the object 2 increases and deviates from the allowable range. Accordingly, the inspection object 2 is determined to be poorly attached.

しかしながら、被検査物の向きがX線画像中で変化した場合、搬送方向長さ及び幅の値が変動してしまう。例えば図4に示したX線画像は、図3に示したものと同じ被検査物に対して生成したものであるが、この図4のX線画像では、被検査物1の搬送方向長さが小さく、幅が大きくなってしまう。これにより、それぞれの値が許容範囲を逸脱し、その結果、正常に取り付けられているにも関わらず、取り付け不良と判定されてしまう。   However, when the direction of the inspection object changes in the X-ray image, the length and width values in the transport direction vary. For example, the X-ray image shown in FIG. 4 is generated for the same object to be inspected as shown in FIG. 3. In the X-ray image of FIG. Is small and wide. As a result, each value deviates from the allowable range, and as a result, it is determined that the attachment is defective although it is normally attached.

そこで、本発明に係るX線検査方法及び装置では、まず被検査物から基準となる方向(基準方向)を算出し、この基準方向を元に検査を行う方向(検査方向)を決定することとした。これにより、被検査物の傾きによらず被検査物の方向長さを適切に算出することができ、その結果、信頼性の高いX線検査を行うことができる。以下、本発明のX線検査方法及び装置の一実施例を示す。   Therefore, in the X-ray inspection method and apparatus according to the present invention, first, a reference direction (reference direction) is calculated from the object to be inspected, and an inspection direction (inspection direction) is determined based on the reference direction. did. Thereby, the direction length of the inspection object can be appropriately calculated regardless of the inclination of the inspection object, and as a result, a highly reliable X-ray inspection can be performed. Hereinafter, an embodiment of the X-ray inspection method and apparatus of the present invention will be described.

本発明に係るX線検査装置の一実施例を図1及び図2を参照して説明する。ここで、図1は本実施例のX線検査装置の構成を示すブロック図であり、図2は本実施例のX線検査装置の動作の手順を示すフローチャートである。   An embodiment of the X-ray inspection apparatus according to the present invention will be described with reference to FIGS. Here, FIG. 1 is a block diagram showing the configuration of the X-ray inspection apparatus of the present embodiment, and FIG. 2 is a flowchart showing the operation procedure of the X-ray inspection apparatus of the present embodiment.

本実施例のX線検査装置は、正常品や被検査物にX線を照射し、その透過量を測定する測定部10と、測定部10で測定されたX線透過量に基づいてX線画像を作成し、所定の特徴量を抽出する検査部20と、ユーザによる入力や学習等により予め設定された許容範囲に基づき、被検査物の良否判定を行う判定部30と、から構成されている。   The X-ray inspection apparatus according to the present embodiment irradiates a normal product or an object to be inspected with X-rays and measures the amount of transmission, and the X-ray transmission based on the amount of X-ray transmission measured by the measurement unit 10. An inspection unit 20 that creates an image and extracts a predetermined feature amount, and a determination unit 30 that determines pass / fail of the inspection object based on an allowable range set in advance by user input, learning, or the like. Yes.

また、上記した測定部10は、X線源からX線を照射するX線照射部11と、X線が照射された正常品や被検査物のX線透過量を測定する、X線検出器等から成るX線検出部12と、を有している。検査部20は、X線検出部12で測定された被検査物のX線透過量に基づき、それらのX線画像を生成する画像生成部21と、画像生成部21で生成されたX線画像に画像処理を施す画像処理部22と、画像処理部22で画像処理を施されたX線画像から所定の特徴量を抽出する抽出部23と、を有している。   The measurement unit 10 described above includes an X-ray irradiation unit 11 that emits X-rays from an X-ray source, and an X-ray detector that measures the X-ray transmission amount of a normal product or an inspection object irradiated with X-rays. And an X-ray detection unit 12 made up of, and the like. The inspection unit 20 includes an image generation unit 21 that generates X-ray images of the inspection object measured by the X-ray detection unit 12 and an X-ray image generated by the image generation unit 21. An image processing unit 22 that performs image processing on the image processing unit, and an extraction unit 23 that extracts a predetermined feature amount from the X-ray image subjected to image processing by the image processing unit 22.

以上は、X線検査装置に一般的に共通する基本構成であるが、本実施例の抽出部23ではさらに、画像処理部22から送られてきたX線画像に含まれる被検査物の画像領域(以下、「検査領域」と称す)の基準方向を算出する基準方向算出部231と、基準方向算出部231で算出された基準方向から所定の角度だけ回転させた1又は複数の方向を検査方向として生成する検査方向生成部232と、検査方向生成部232で生成された検査方向における検査領域の長さ(方向長さ)を算出する長さ算出部233と、を有している。   The above is a basic configuration generally common to the X-ray inspection apparatus, but the extraction unit 23 of the present embodiment further includes an image region of the inspection object included in the X-ray image sent from the image processing unit 22. A reference direction calculation unit 231 that calculates a reference direction (hereinafter referred to as “inspection area”), and one or more directions rotated by a predetermined angle from the reference direction calculated by the reference direction calculation unit 231 are inspection directions. And a length calculation unit 233 that calculates the length (direction length) of the inspection region in the inspection direction generated by the inspection direction generation unit 232.

なお、前記検査領域は、1つのX線画像から複数検出されても良い。この場合、基準方向算出部231で算出される基準方向は、各検査領域に対して1つずつ得られることになる。また、検査方向生成部232に用いる基準方向からの回転角度は、ユーザによる入力や予備実験等から予め設定されているものとする。ここで、回転角度としては、0°、すなわち検査方向が基準方向と一致するようにしても良い。また、検査方向が基準方向と直交するよう、90°としても良い。   A plurality of inspection areas may be detected from one X-ray image. In this case, one reference direction calculated by the reference direction calculation unit 231 is obtained for each inspection region. In addition, the rotation angle from the reference direction used for the inspection direction generation unit 232 is set in advance by user input, preliminary experiments, or the like. Here, the rotation angle may be 0 °, that is, the inspection direction may coincide with the reference direction. Further, it may be 90 ° so that the inspection direction is orthogonal to the reference direction.

なお、抽出部23で抽出される所定の特徴量としては、上記の方向長さの他に、面積、体積、周囲長、円形度など、既知の画像特徴量を含んでいてもよい。   The predetermined feature amount extracted by the extraction unit 23 may include known image feature amounts such as area, volume, perimeter length, and circularity in addition to the above-described direction length.

図1に示した本実施例のX線検査装置の検査の手順を、上記のホッチキスの取り付け不良検査を例に、図2のフローチャートを用いて説明する。
本実施例のX線検査装置では、所定の位置(X線照射位置)に被検査物を搬送し(ステップS1)、X線照射部11から該被検査物にX線を照射して(ステップS2)、その透過量をX線検出部12で測定する(ステップS3)。X線検出部12で測定されたX線透過量のデータは検査部20内の画像生成部21に送られ、X線画像が生成される(ステップS4)。しかしながら、画像生成部21で生成されたX線画像は、図3に示すように被検査物の画像のみならず背景画像も含むため、画像処理部22で所定の画像処理を施すことにより、背景画像と被検査物の画像とを切り分けることが必要となる。図2のX線画像に対しては、例えば2値化処理により、図5に示すような検査領域が黒く、それ以外の領域が白く映った2値画像を得ることができる。この黒白を切り分ける閾値には、判別分析法などの既知の自動決定法を用いて設定しても良いし、予め与えられた値を用いても良い。さらに、この図5の2値画像にラベリング処理を施すことにより、検査領域が検出される(ステップS5)。
The procedure of the inspection of the X-ray inspection apparatus according to the present embodiment shown in FIG. 1 will be described with reference to the flowchart of FIG.
In the X-ray inspection apparatus of this embodiment, the inspection object is transported to a predetermined position (X-ray irradiation position) (Step S1), and the inspection object is irradiated with X-rays from the X-ray irradiation unit 11 (Step S1). S2), the amount of transmission is measured by the X-ray detector 12 (step S3). The X-ray transmission amount data measured by the X-ray detection unit 12 is sent to the image generation unit 21 in the inspection unit 20 to generate an X-ray image (step S4). However, the X-ray image generated by the image generation unit 21 includes not only the image of the object to be inspected but also the background image as shown in FIG. It is necessary to separate the image and the image of the inspection object. For the X-ray image of FIG. 2, for example, by binarization processing, it is possible to obtain a binary image in which the inspection area shown in FIG. 5 is black and the other areas appear white. The threshold for separating black and white may be set using a known automatic determination method such as a discriminant analysis method, or a value given in advance may be used. Further, an inspection area is detected by applying a labeling process to the binary image of FIG. 5 (step S5).

次に、抽出部23において、画像処理部22で検出された検査領域の検査方向における長さを特徴量として抽出する。まず、基準方向算出部231では、画像処理部22で検出された検査領域に対して、その基準方向を算出する(ステップS6)。ここで、前記基準方向としては、例えば検査領域の慣性主軸、慣性副軸、最小フェレ径方向、最大フェレ径方向など、画像処理で用いられる任意の基準を利用することができる。なお、本実施例では、慣性主軸を基準方向として用いることとした。   Next, the extraction unit 23 extracts the length in the inspection direction of the inspection region detected by the image processing unit 22 as a feature amount. First, the reference direction calculation unit 231 calculates the reference direction for the inspection area detected by the image processing unit 22 (step S6). Here, as the reference direction, for example, any reference used in image processing such as an inertia main axis, an inertia sub axis, a minimum ferret diameter direction, and a maximum ferret diameter direction of the inspection region can be used. In this embodiment, the inertia main axis is used as the reference direction.

基準方向算出部231で算出された基準方向に対し、検査方向生成部232では、この基準方向から所定の角度だけ回転させた方向を検査方向として生成する(ステップS7)。さらに、長さ算出部233では、この検査方向における検査領域の長さを算出する(ステップS8)。本実施例では、前記所定の角度を0°とし、前記基準方向(慣性主軸)を検査方向としてその長さを算出することとした(図6)。なお、図6のX線画像の横軸方向をx軸、縦軸方向をy軸とし、前記基準方向のx軸からの傾き角度をθ、前記所定角度をαとした場合の、x軸からの傾き角度がβ(=θ+α)である検査方向の方向長さLは、次式により算出することができる。
ただし、本実施例ではα=0としているため、θとβは一致している。
With respect to the reference direction calculated by the reference direction calculation unit 231, the inspection direction generation unit 232 generates a direction rotated by a predetermined angle from the reference direction as an inspection direction (step S7). Further, the length calculation unit 233 calculates the length of the inspection region in this inspection direction (step S8). In the present embodiment, the predetermined angle is set to 0 °, and the reference direction (principal axis of inertia) is used as the inspection direction to calculate the length (FIG. 6). Note that the x-ray image of FIG. 6 has the x-axis as the abscissa, the y-axis as the y-axis, the tilt angle of the reference direction from the x-axis as θ, and the predetermined angle as α. The direction length L in the inspection direction where the inclination angle is β (= θ + α) can be calculated by the following equation.
However, since α = 0 in the present embodiment, θ and β coincide with each other.

長さ算出部233で算出された方向長さの値や、抽出部23で抽出された他の特徴量の値は、判定部30に送られ、予め設定された許容範囲と比較される。そして、許容範囲内に含まれていれば正常品、含まれていなければ欠陥品(不良品)と判定される(ステップS9)。   The direction length value calculated by the length calculation unit 233 and other feature value values extracted by the extraction unit 23 are sent to the determination unit 30 and compared with a preset allowable range. If it is included in the allowable range, it is determined as a normal product, and if not included, it is determined as a defective product (defective product) (step S9).

以上が本実施例のX線検査装置の検査手順であるが、コンベア等により搬送された被検査物のX線照射位置における通過速度やラインセンサ等から成るX線検出器の信号取得間隔など、X線検査装置の設定によっては、X線画像中の被検査物が縦横に伸縮したように映ることがある。このような場合、X線検査装置の設定から、縦横の伸縮率が1:1になるように計算式を補正して被検査物の検査方向及びその方向長さを算出することにより、上記の方法と同様の検査を行うことができる。また、X線画像から特徴量を抽出する前に、縦横の伸縮率が1:1になるように、各軸方向に該X線画像を拡大・縮小させるステップや機能部(例えば補正部)を設けても良い。   The above is the inspection procedure of the X-ray inspection apparatus of the present embodiment, such as the passage speed at the X-ray irradiation position of the inspection object conveyed by a conveyor or the like, the signal acquisition interval of the X-ray detector composed of a line sensor, etc. Depending on the settings of the X-ray inspection apparatus, the inspection object in the X-ray image may appear to expand and contract vertically and horizontally. In such a case, from the setting of the X-ray inspection apparatus, the calculation formula is corrected so that the vertical / horizontal expansion / contraction ratio is 1: 1, and the inspection direction and the length of the inspection object are calculated. A test similar to the method can be performed. In addition, before extracting the feature amount from the X-ray image, a step or a function unit (for example, a correction unit) for enlarging / reducing the X-ray image in each axial direction so that the vertical / horizontal expansion / contraction ratio becomes 1: 1. It may be provided.

また、検査方向とその方向長さの範囲を、モニタ等の出力装置からなる表示部に表示させることにより、適切な検査が行われていることをユーザが確認できるようにしても良い。図7は、表示部に表示させるX線画像の一例を示している。この図7の表示例では、検査方向(基準方向と一致)とその方向長さを、検査領域上に両端に矢印が付加された線分3により表示している。この線分3の傾きにより検査方向が、線分3の長さにより該検査方向における検査領域の長さの範囲が示される。なお、線分3は検査領域の中心、下端、上端のいずれかを通るようにすれば良い。また、検査方向やその長さが複数ある場合は、それぞれの表示色を変えることで、ユーザが確認しやすいようにすることができる。   Moreover, the range of the inspection direction and the length of the direction may be displayed on a display unit including an output device such as a monitor so that the user can confirm that an appropriate inspection is being performed. FIG. 7 shows an example of an X-ray image displayed on the display unit. In the display example of FIG. 7, the inspection direction (coincidence with the reference direction) and the length of the direction are displayed by a line segment 3 with arrows added to both ends on the inspection region. The inclination of the line segment 3 indicates the inspection direction, and the length of the line segment 3 indicates the range of the length of the inspection region in the inspection direction. The line segment 3 may pass through any one of the center, the lower end, and the upper end of the inspection area. In addition, when there are a plurality of inspection directions and their lengths, it is possible to make it easier for the user to confirm by changing the display color of each.

なお、図7の表示例はあくまで一例であり、ユーザが検査方向とその長さの範囲を認識できる表示ならば、他の任意の表示方法を用いることができる。   Note that the display example in FIG. 7 is merely an example, and any other display method can be used as long as the user can recognize the inspection direction and the range of the length thereof.

図8に、上記実施例のX線検査装置に、縦横の伸縮率を補正する補正部40と、検査方向及びその方向長さの範囲を表示する表示部41と、を追加した変形例のX線検査装置のブロック図を示す。   FIG. 8 shows an X-ray inspection apparatus according to the above-described embodiment, in which a correction unit 40 that corrects the vertical / horizontal expansion / contraction ratio and a display unit 41 that displays the inspection direction and the range of the length in the direction are added. The block diagram of a line inspection apparatus is shown.

本変形例のX線検査装置は、補正部40により、検査装置の設定から、X線画像の縦横の伸縮率を算出し、伸縮率の比が縦:横=1:1になるように、画像の縦横方向にそれぞれ拡大・縮小を行うことができる。また、表示部41を設けることにより、検査領域の長さの算出方向とその範囲をユーザが認識しやすいよう、線分等を検査領域に表示したX線画像をモニタ等の出力装置に出力することができる。   In the X-ray inspection apparatus of this modification, the correction unit 40 calculates the vertical / horizontal expansion / contraction ratio of the X-ray image from the setting of the inspection apparatus so that the ratio of the expansion / contraction ratio is vertical: horizontal = 1: 1. The image can be enlarged or reduced in the vertical and horizontal directions. In addition, by providing the display unit 41, an X-ray image in which line segments and the like are displayed in the examination area is output to an output device such as a monitor so that the user can easily recognize the calculation direction and the range of the examination area length. be able to.

1、2…被検査物
3…線分
10…測定部
11…X線照射部
12…X線検出部
20…検査部
21…画像生成部
22…画像処理部
23…抽出部
231…基準方向算出部
232…検査方向生成部
233…長さ算出部
30…判定部
40…補正部
41…表示部
DESCRIPTION OF SYMBOLS 1, 2 ... Inspection object 3 ... Line segment 10 ... Measurement part 11 ... X-ray irradiation part 12 ... X-ray detection part 20 ... Inspection part 21 ... Image generation part 22 ... Image processing part 23 ... Extraction part 231 ... Reference | standard direction calculation Unit 232 ... Inspection direction generation unit 233 ... Length calculation unit 30 ... Determination unit 40 ... Correction unit 41 ... Display unit

Claims (12)

被検査物にX線を照射して、その透過量を測定することにより、X線画像を生成し、所定の特徴量を該X線画像から抽出して、該被検査物の良否判定を行うX線検査方法において、
X線画像に映った被検査物の基準方向を算出し、
前記基準方向から所定の角度だけ回転させた1又は複数の方向を検査方向として生成し、
前記検査方向における被検査物の長さを特徴量として抽出し、
前記長さを所定の許容範囲と比較して被検査物の良否を判定する、
ことを特徴とするX線検査方法。
An X-ray image is generated by irradiating the inspection object with X-rays and measuring the amount of transmission, and a predetermined feature amount is extracted from the X-ray image to determine whether the inspection object is good or bad. In the X-ray inspection method,
Calculate the reference direction of the object in the X-ray image,
One or more directions rotated by a predetermined angle from the reference direction are generated as inspection directions,
Extract the length of the inspection object in the inspection direction as a feature amount,
Compare the length with a predetermined allowable range to determine the quality of the inspection object,
An X-ray inspection method characterized by the above.
前記基準方向が、被検査物の慣性主軸、慣性副軸、最小フェレ径方向、最大フェレ径方向のいずれかで算出されることを特徴とする請求項1に記載のX線検査方法。   The X-ray inspection method according to claim 1, wherein the reference direction is calculated by any one of an inertia main axis, an inertia auxiliary axis, a minimum ferret diameter direction, and a maximum ferret diameter direction of the inspection object. 前記検査方向及び長さが、前記X線画像の縦横の伸縮率を考慮して算出されていることを特徴とする請求項1又は2に記載のX線検査方法。   The X-ray inspection method according to claim 1, wherein the inspection direction and length are calculated in consideration of a vertical / horizontal expansion / contraction ratio of the X-ray image. 前記X線画像が、縦横の伸縮率が1対1になるよう補正を行った後の画像であることを特徴とする請求項1又は2に記載のX線検査方法。   The X-ray inspection method according to claim 1, wherein the X-ray image is an image after correction is performed so that a vertical and horizontal expansion ratio is 1: 1. 前記検査方向が、前記X線画像中に表示されていることを特徴とする請求項1〜4のいずれかに記載のX線検査方法。   The X-ray inspection method according to claim 1, wherein the inspection direction is displayed in the X-ray image. さらに、前記検査方向の長さの範囲が前記X線画像中に表示されていることを特徴とする請求項5に記載のX線検査方法。   The X-ray inspection method according to claim 5, wherein a range of the length in the inspection direction is displayed in the X-ray image. 被検査物にX線を照射して、その透過量を測定することにより、X線画像を生成し、所定の特徴量を該X線画像から抽出して、該被検査物の良否判定を行うX線検査装置において、
X線画像に映った被検査物の基準方向を算出する基準方向算出手段と、
前記基準方向から所定の角度だけ回転させた1又は複数の方向を検査方向として、該検査方向における被検査物の長さを算出する長さ算出手段と、
前記長さを所定の許容範囲と比較して被検査物の良否を判定する良否判定手段と、
を有していることを特徴とするX線検査装置。
An X-ray image is generated by irradiating the inspection object with X-rays and measuring the amount of transmission, and a predetermined feature amount is extracted from the X-ray image to determine whether the inspection object is good or bad. In X-ray inspection equipment,
A reference direction calculation means for calculating a reference direction of the inspection object shown in the X-ray image;
A length calculating means for calculating the length of the inspection object in the inspection direction, with one or a plurality of directions rotated by a predetermined angle from the reference direction as the inspection direction;
Pass / fail judgment means for judging pass / fail of the object to be inspected by comparing the length with a predetermined allowable range;
An X-ray inspection apparatus characterized by comprising:
前記基準方向が、被検査物の慣性主軸、慣性副軸、最小フェレ径方向、最大フェレ径方向のいずれかで算出されることを特徴とする請求項7に記載のX線検査装置。   The X-ray inspection apparatus according to claim 7, wherein the reference direction is calculated by any one of an inertia main axis, an inertia auxiliary axis, a minimum ferret diameter direction, and a maximum ferret diameter direction of the inspection object. 前記検査方向及び長さが、前記X線画像の縦横の伸縮率を考慮して算出されていることを特徴とする請求項7又は8に記載のX線検査装置。   The X-ray inspection apparatus according to claim 7, wherein the inspection direction and length are calculated in consideration of a vertical and horizontal expansion / contraction ratio of the X-ray image. 前記X線画像が、縦横の伸縮率が1対1になるよう補正を行った後の画像であることを特徴とする請求項7又は8に記載のX線検査装置。   The X-ray inspection apparatus according to claim 7, wherein the X-ray image is an image after correction is performed so that a vertical / horizontal expansion ratio is 1: 1. さらに、前記検査方向が、前記X線画像中に表示される画像表示手段を有していることを特徴とする請求項7〜10のいずれかに記載のX線検査装置。   The X-ray inspection apparatus according to claim 7, further comprising image display means for displaying the inspection direction in the X-ray image. 前記画像表示手段が、検査方向に加えて、該検査方向の長さの範囲をX線画像中に表示していることを特徴とする請求項11に記載のX線検査装置。   The X-ray inspection apparatus according to claim 11, wherein the image display unit displays a range of the length in the inspection direction in the X-ray image in addition to the inspection direction.
JP2009236590A 2009-10-13 2009-10-13 X-ray inspection method and x-ray inspection device using the same Pending JP2011085424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009236590A JP2011085424A (en) 2009-10-13 2009-10-13 X-ray inspection method and x-ray inspection device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009236590A JP2011085424A (en) 2009-10-13 2009-10-13 X-ray inspection method and x-ray inspection device using the same

Publications (1)

Publication Number Publication Date
JP2011085424A true JP2011085424A (en) 2011-04-28

Family

ID=44078480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009236590A Pending JP2011085424A (en) 2009-10-13 2009-10-13 X-ray inspection method and x-ray inspection device using the same

Country Status (1)

Country Link
JP (1) JP2011085424A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015102493A (en) * 2013-11-27 2015-06-04 株式会社イシダ Inspection device
WO2018029765A1 (en) * 2016-08-08 2018-02-15 Ykk株式会社 Snap button attachment inspection apparatus
KR102282298B1 (en) * 2020-03-06 2021-07-27 김명훈 System and Method for inspecting staples in an insulation box
JP2021535367A (en) * 2018-08-16 2021-12-16 タイ ユニオン グループ パブリック カンパニー リミテッド Multi-view imaging system and method for non-invasive inspection in food processing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015102493A (en) * 2013-11-27 2015-06-04 株式会社イシダ Inspection device
WO2018029765A1 (en) * 2016-08-08 2018-02-15 Ykk株式会社 Snap button attachment inspection apparatus
JP2021535367A (en) * 2018-08-16 2021-12-16 タイ ユニオン グループ パブリック カンパニー リミテッド Multi-view imaging system and method for non-invasive inspection in food processing
KR102282298B1 (en) * 2020-03-06 2021-07-27 김명훈 System and Method for inspecting staples in an insulation box

Similar Documents

Publication Publication Date Title
EP3121591B1 (en) Inspection method and device
JP6031339B2 (en) Perspective image density correction method, nondestructive inspection method, and image processing apparatus
JP2011089920A (en) X-ray inspection method and x-ray inspection apparatus using the same
US10809209B2 (en) Measurement processing device, x-ray inspection device, measurement processing method, measurement processing program, and structure manufacturing method
WO2016174926A1 (en) Image processing device, image processing method, and program
JP2011085424A (en) X-ray inspection method and x-ray inspection device using the same
JP2009210339A (en) Defect inspection method and defect inspection device
JP2008157821A (en) Device for inspecting x-ray foreign matter
JP4988482B2 (en) Radiation inspection apparatus, radiation inspection method, and radiation inspection program
JP2007322344A (en) X-ray inspection device
JP4180581B2 (en) Item inspection system
JP5395614B2 (en) X-ray inspection equipment
KR20130031331A (en) Glass bottle inspection device
JP6244290B2 (en) Crack evaluation method
JP2007212366A (en) Method and device for inspecting thickness of inspected part
CN101939637A (en) Can seam inspection
JP6462228B2 (en) X-ray inspection equipment
JP4170366B2 (en) X-ray inspection equipment
JP2012088291A (en) X-ray inspection apparatus
JP2009080030A (en) X-ray inspection device
JP2008175691A (en) X-ray inspection apparatus and inspection method
JP2016024096A (en) Inspection device
JP6647873B2 (en) Inspection device
JP2006317259A (en) X-ray foreign matter detector
JP2010281654A (en) X-ray inspection apparatus and inspection program for the same