Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7635931B2 - How to detect product defects - Google Patents
[go: Go Back, main page]

JP7635931B2 - How to detect product defects - Google Patents

How to detect product defects Download PDF

Info

Publication number
JP7635931B2
JP7635931B2 JP2020204640A JP2020204640A JP7635931B2 JP 7635931 B2 JP7635931 B2 JP 7635931B2 JP 2020204640 A JP2020204640 A JP 2020204640A JP 2020204640 A JP2020204640 A JP 2020204640A JP 7635931 B2 JP7635931 B2 JP 7635931B2
Authority
JP
Japan
Prior art keywords
cross
image
sectional image
sectional
brightness
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.)
Active
Application number
JP2020204640A
Other languages
Japanese (ja)
Other versions
JP2022092083A (en
Inventor
敏明 佐藤
尚宏 植田
浩 松木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meiwa eTec Co Ltd
Original Assignee
Meiwa eTec Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meiwa eTec Co Ltd filed Critical Meiwa eTec Co Ltd
Priority to JP2020204640A priority Critical patent/JP7635931B2/en
Publication of JP2022092083A publication Critical patent/JP2022092083A/en
Application granted granted Critical
Publication of JP7635931B2 publication Critical patent/JP7635931B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Analysing Materials By The Use Of Radiation (AREA)

Description

本発明は製品の欠陥検出方法に関し、特に鋳造品に生じる内部欠陥である鋳巣を検出するのに適した方法に関するものである。 The present invention relates to a method for detecting defects in products, and in particular to a method suitable for detecting blowholes, which are internal defects that occur in castings.

製品の欠陥、例えば鋳造品に生じる鋳巣を検出するために輪切り断面画像が取得できるCT(computed tomography)を使用する試みがなされているが(特許文献1)、CT画像にはアーチファクトという特有のノイズが生じるため、これによる欠陥検出精度の低下が問題となる。そこで例えば特許文献2には医用CT画像においてこれに生じる金属アーチファクトを除去する方法が示されており、ここでは、金属領域のピクセル点を中心とする円形検出領域を設定し、当該円形検出領域内の上記金属領域と非金属領域の比がプリセット値以上となった場合に上記円形検出領域を境界領域として境界平滑化処理を実行することにより金属アーチファクトを除去している。 Attempts have been made to use CT (computed tomography), which can obtain cross-sectional images, to detect product defects, such as blowholes that occur in castings (Patent Document 1), but CT images produce a unique noise called artifacts, which causes a problem of reduced defect detection accuracy. For example, Patent Document 2 shows a method for removing metal artifacts that occur in medical CT images, in which a circular detection area is set with the pixel point of the metal area at its center, and when the ratio of the metal area to the non-metal area in the circular detection area exceeds a preset value, the circular detection area is used as the boundary area and boundary smoothing processing is performed to remove the metal artifacts.

特開2005-351875Patent Publication 2005-351875 特開2015-85198Patent Publication 2015-85198

しかし、上記従来のアーチファクト除去方法では複雑な演算を必要とするため、製品の欠陥検出を簡易に行うことができないという問題があった。 However, the conventional artifact removal methods described above require complex calculations, which means that product defect detection cannot be easily performed.

そこで、本発明はこのような課題を解決するもので、CT画像からのアーチファクト除去の演算負担を軽減して、簡易に製品の欠陥検出を行うことが可能な欠陥検出方法を提供することを目的とする。 Therefore, the present invention aims to solve these problems by providing a defect detection method that reduces the computational burden of removing artifacts from CT images and enables easy detection of product defects.

上記目的を達成するために、本第1発明では、所定数の同形製品を同一位置で輪切りした断面画像を取得し、これら断面画像の、対応する各画像領域の輝度を平均化した平均輝度を算出して、当該平均輝度を付与した前記各画像領域よりなる基準断面画像を生成し、一方、欠陥検出対象となる前記製品と同形の製品を前記同一位置で輪切りした検出断面画像を取得し、当該検出断面画像の各画像領域と当該各画像領域に相当する前記基準断面画像の各画像領域の輝度の差分をとった差分輝度を算出して、当該差分輝度を付与した画像領域よりなる欠陥検出用断面画像を生成し、前記欠陥検出用断面画像を前記製品の異なる輪切り位置で必要数生成して、これら欠陥検出用断面画像より欠陥検出用三次元画像を生成し、当該欠陥検出用三次元画像から欠陥を特定することを特徴とする。なお「画像領域」は一画素の領域でも良いし、所定の複数画素の領域でも良い。 In order to achieve the above object, the first invention is characterized in that: a predetermined number of cross-sectional images of identical products are obtained by cutting the products at the same position, an average brightness is calculated by averaging the brightness of the corresponding image areas of these cross-sectional images, and a reference cross-sectional image is generated from the image areas to which the average brightness is added; a detection cross-sectional image of a product of the same shape as the product to be detected is obtained by cutting the product at the same position, a difference brightness is calculated by taking the difference between the brightness of each image area of the detection cross-sectional image and each image area of the reference cross-sectional image corresponding to each image area, and a defect detection cross-sectional image is generated from the image areas to which the difference brightness is added; a required number of the defect detection cross-sectional images are generated at different cross-sectional positions of the product, a defect detection three-dimensional image is generated from these defect detection cross-sectional images, and defects are identified from the defect detection three-dimensional image . Note that the "image area" may be an area of one pixel or an area of a predetermined number of pixels.

本第1発明において、基準断面画像ではその画像領域に、所定数の同形製品を同一位置で輪切りした断面画像の対応する各画像領域の輝度を平均化した平均輝度が付与されているから、上記各製品の内部に局部的な欠陥があってこの部分で輝度が大きく変化していても、平均化によって欠陥による輝度変化は薄められて十分小さくなり、欠陥画像部分の無い基準断面画像が得られる。この際、上記各断面画像上のアーチファクトは、上記同形製品の設置位置・姿勢が同一であれば、常に同一位置に同一輝度で現れるから、上記のように輝度を平均化しても基準断面画像上にそのまま残存する。一方、検出断面画像上には、欠陥画像部分とこれに重畳して上記基準断面画像上と同様のアーチファクトが現れる。そこで、検出断面画像の各画像領域と当該各画像領域に相当する前記基準断面画像の各画像領域の輝度の差分をとった差分輝度を算出して、当該差分輝度を付与した画像領域よりなる欠陥検出用断面画像を生成すると、欠陥検出用断面画像ではアーチファクトは除去されて欠陥の画像のみが残るから、欠陥が容易かつ確実に特定できる。このようにして、本第1発明によれば、複雑な演算を要することなく輝度の平均化演算と輝度の差分演算のみの簡易な演算で、製品の欠陥検出を簡易に行うことができる。加えて、欠陥検出用三次元画像が生成されるから、欠陥の大きさ(体積)や存在位置をさらに正確に検出でき、欠陥の特定をより確実に行うことができる。 In the first invention, the image area of the reference cross-sectional image is given an average brightness obtained by averaging the brightness of each corresponding image area of the cross-sectional images obtained by cutting a predetermined number of identical products at the same position. Therefore, even if there is a local defect inside each product and the brightness changes significantly at this part, the brightness change due to the defect is diluted and becomes sufficiently small by averaging, and a reference cross-sectional image without a defective image part is obtained. In this case, if the installation position and posture of the identical products are the same, the artifacts on each cross-sectional image always appear at the same position with the same brightness, so they remain on the reference cross-sectional image even if the brightness is averaged as described above. On the other hand, the detection cross-sectional image appears with the defect image part and the same artifacts superimposed thereon. Therefore, by calculating the difference in brightness between each image area of the detection cross-sectional image and each image area of the reference cross-sectional image corresponding to each image area, a defect detection cross-sectional image consisting of image areas to which the difference brightness is given is generated, and the artifacts are removed from the defect detection cross-sectional image and only the image of the defect remains, so that the defect can be easily and reliably identified. In this way, according to the first invention, product defect detection can be easily performed by simple calculations of averaging brightness and calculating brightness differences without requiring complex calculations. In addition, since a three-dimensional image for defect detection is generated, the size (volume) and location of the defect can be detected more accurately, and the defect can be identified more reliably.

本第2発明では、前記所定数取得する各断面画像中から、明らかな欠陥を予め除いておく。 In the second invention , obvious defects are removed in advance from the predetermined number of acquired cross-sectional images.

本第2発明によれば、自動あるいは目視等によって各断面画像中から明らかな欠陥が予め除かれるから、残る欠陥の特定の効率が向上する。 According to the second invention , obvious defects are removed beforehand from each cross-sectional image automatically or visually, etc., so that the efficiency of identifying remaining defects is improved.

本第3発明では、前記製品は鋳物であり、前記欠陥は鋳巣である。 In the third invention , the product is a casting, and the defect is a blowhole.

以上のように、本発明の欠陥検出方法によれば、CT画像からのアーチファクト除去の演算負担が軽減されて、簡易に製品の欠陥検出を行うことができる。 As described above, the defect detection method of the present invention reduces the computational burden of removing artifacts from CT images, making it possible to easily detect defects in products.

本発明方法を実施するための装置の概略構成図である。FIG. 1 is a schematic diagram of an apparatus for carrying out the method of the present invention. 基準断面画像を生成するための手順を示すフローチャートである。10 is a flowchart showing a procedure for generating a reference cross section image. 鋳造品のZ方向三位置における断面画像の一例を示す図である。1A to 1C are diagrams showing examples of cross-sectional images of a casting at three positions in the Z direction. 鋳造品のCAD三次元画像のZ方向三位置における断面画像の一例を示す図である。1A to 1C are diagrams showing examples of cross-sectional images at three positions in the Z direction of a CAD three-dimensional image of a casting. 位置補正の詳細な手順を示すフローチャートである。10 is a flowchart showing a detailed procedure of position correction. CAD断面画像のコーナおよびCT断面画像のコーナ重心を示す図である。1A and 1B are diagrams illustrating corners of a CAD cross-sectional image and the center of gravity of a corner of a CT cross-sectional image; 平均輝度算出の詳細な手順を示すフローチャートである。10 is a flowchart showing a detailed procedure for calculating an average luminance. 欠陥検出用断面画像を生成するための手順を示すフローチャートである。10 is a flowchart showing a procedure for generating a cross-sectional image for defect detection. 差分輝度算出の詳細な手順を示すフローチャートである。10 is a flowchart showing a detailed procedure for calculating a brightness difference. エッジノイズ除去の詳細な手順を示すフローチャートである。10 is a flowchart showing a detailed procedure for removing edge noise. 鋳巣特定の詳細な手順を示すフローチャートである。10 is a flowchart showing a detailed procedure for identifying blowholes.

なお、以下に説明する実施形態はあくまで一例であり、本発明の要旨を逸脱しない範囲で当業者が行う種々の設計的改良も本発明の範囲に含まれる。 The embodiment described below is merely an example, and various design improvements made by those skilled in the art that do not deviate from the gist of the present invention are also included in the scope of the present invention.

図1には本発明方法を実施するための装置の一例を示す。製品として例えば鋳造品WがX-Y平面内で回転するテーブル(図示略)上に載置される。X-Y平面に平行な面内で、鋳造品Wを挟んで対向するようにCT(computed tomography)を構成するX線照射器1とラインセンサ2が位置しており、X線照射器1からコリメータ等によってビームを扁平に狭められた扇状に拡がるX線Rが鋳造品Wを輪切り状に透過してラインセンサ2に入力している。 Figure 1 shows an example of an apparatus for carrying out the method of the present invention. A product, for example a casting W, is placed on a table (not shown) that rotates in the X-Y plane. An X-ray irradiator 1 and a line sensor 2 that constitute a CT (computed tomography) are positioned facing each other on either side of the casting W in a plane parallel to the X-Y plane, and X-rays R that spread out in a fan shape, with the beam narrowed flat by a collimator or the like, are emitted from the X-ray irradiator 1 and penetrate the casting W in a cross-sectional manner before being input to the line sensor 2.

ラインセンサ2からの出力はデジタルデータとして制御装置内のコンピュータ3に入力される。鋳造品Wをテーブル上で回転させることによって全方位からの透過X線がラインセンサ2に入力し、ラインセンサ2からのデジタルデータを入力したコンピュータ3で公知の方法によって、Z方向の所定位置での鋳造品Wの輪切り断面画像が得られる。 The output from the line sensor 2 is input as digital data to the computer 3 in the control device. By rotating the casting W on the table, transmitted X-rays from all directions are input to the line sensor 2, and the computer 3 inputs the digital data from the line sensor 2 and obtains a cross-sectional image of the casting W at a predetermined position in the Z direction using a known method.

本実施形態では、鋳造品Wを載置したテーブルと、X線照射器1およびラインセンサ2は、Z方向へ相対移動可能であり、コンピュータ3内の演算によって、Z方向の複数位置で得られた断面画像から鋳造品Wの三次元画像を得ることができる。X線照射器1やテーブルの回転、Z方向への相対移動等はコンピュータ3からの出力信号で適宜行われる。なお、以下にフローチャートで説明する各手順は、コンピュータ3のプログラムによって実行される。 In this embodiment, the table on which the casting W is placed, the X-ray irradiator 1, and the line sensor 2 are capable of relative movement in the Z direction, and a three-dimensional image of the casting W can be obtained from cross-sectional images obtained at multiple positions in the Z direction through calculations within the computer 3. Rotation of the X-ray irradiator 1 and the table, relative movement in the Z direction, etc. are appropriately performed by output signals from the computer 3. Each procedure described below in the flowchart is executed by a program on the computer 3.

A.基準断面画像の生成
(断面画像の取得)
図2には基準断面画像を生成するための手順を示す。最初にステップ101で、鋳造品の所定のZ方向位置での断面画像を取得する。本実施形態では、一の鋳造品についてZ方向で複数位置の断面画像を取得する。これを図3に示し、図3のF1,F2,F3はそれぞれZ方向の3位置Z1,Z2,Z3で得られた鋳造品Wの断面画像の一例である。本実施形態では、一の鋳造品についてZ方向の複数(後述する三次元画像を得るのに必要な所定数)位置での断面画像を取得した後、同形の必要数の他の鋳造品についてもZ方向の同一位置でそれぞれ断面画像を取得する。
A. Generation of reference cross-sectional images (acquisition of cross-sectional images)
Fig. 2 shows a procedure for generating a reference cross-sectional image. First, in step 101, a cross-sectional image of a casting at a predetermined Z-direction position is acquired. In this embodiment, cross-sectional images of one casting at multiple positions in the Z direction are acquired. This is shown in Fig. 3, where F1, F2, and F3 are examples of cross-sectional images of a casting W acquired at three positions Z1, Z2, and Z3 in the Z direction, respectively. In this embodiment, after cross-sectional images of one casting at multiple positions in the Z direction (a predetermined number required to obtain a three-dimensional image described later) are acquired, cross-sectional images are acquired at the same positions in the Z direction for a required number of other castings of the same shape.

(断面画像の位置補正)
続いて図2のステップ102では、上記断面画像F1~F3の位置を補正する。これはテーブル上に載置される鋳造品の位置がその都度僅かにズレるからである。このズレは本実施形態では鋳造品がテーブル上に置かれていることによりZ方向には生じず、X-Y平面内でのみ生じる。なお、鋳造品が置かれる際の位置ズレが問題の無い程度に小さい場合には特に位置補正の必要はない。
(Correction of cross-sectional image position)
Next, in step 102 in Fig. 2, the positions of the cross-sectional images F1 to F3 are corrected. This is because the position of the casting placed on the table shifts slightly each time. In this embodiment, this shift does not occur in the Z direction because the casting is placed on the table, but occurs only in the XY plane. Note that if the position shift when the casting is placed is small enough to not cause any problems, there is no need to correct the position.

断面画像の上記位置補正は本実施形態では、別に用意された当該鋳造品のCAD三次元画像を利用して行う。図4にはCAD三次元画像W´の一例を示し、図中のF1´,F2´,F3´は、CAD三次元画像W´を上記3位置Z1,Z2,Z3と同一のZ方向位置Z1´,Z2´,Z3´で輪切りにしたCAD断面画像である。 In this embodiment, the above-mentioned position correction of the cross-sectional image is performed by using a separately prepared CAD three-dimensional image of the casting. Figure 4 shows an example of a CAD three-dimensional image W', where F1', F2', and F3' are CAD cross-sectional images obtained by slicing the CAD three-dimensional image W' at Z-direction positions Z1', Z2', and Z3', which are the same as the above-mentioned three positions Z1, Z2, and Z3.

位置補正ステップ102の詳細を図5に示す。図5において、ステップ201では、CT断面画像データ(断面画像に対応)とこれに対応するCAD断面画像データ(CAD断面画像に対応)を切り出す。ステップ202ではCAD断面画像データをスキャンして四隅のコーナを検出する。CAD断面画像F1´で検出されたコーナC1´,C2´,C3´,C4´を図6(1)に示す。 Details of the position correction step 102 are shown in FIG. 5. In FIG. 5, in step 201, the CT cross-sectional image data (corresponding to the cross-sectional image) and the corresponding CAD cross-sectional image data (corresponding to the CAD cross-sectional image) are extracted. In step 202, the CAD cross-sectional image data is scanned to detect the four corners. The corners C1', C2', C3', and C4' detected in the CAD cross-sectional image F1' are shown in FIG. 6 (1).

図5のステップ203では検出したコーナC1´~C4´の周辺に対応するCT断面画像データの縦方向及び横方向の微分値を算出し、微分値が一定量以上の重心を算出する(ステップ204)。図6(2)は、算出された重心C1,C2,C3,C4を断面画像F1上に示したものである。 In step 203 of FIG. 5, the vertical and horizontal differential values of the CT cross-sectional image data corresponding to the periphery of the detected corners C1' to C4' are calculated, and the centers of gravity where the differential values are equal to or greater than a certain amount are calculated (step 204). FIG. 6 (2) shows the calculated centers of gravity C1, C2, C3, and C4 on the cross-sectional image F1.

図5のステップ205では、コーナC1´~C4´と重心C1~C4の相対位置関係よりCAD断面画像データに対するCT断面画像データの平行移動量と回転量を算出する。この算出は例えば、鋳造品のZ方向の複数位置Z1~Z3でそれぞれ検出ないし算出されたコーナC1´~C4´と重心C1~C4の相対位置関係を使って例えばその最小二乗誤差が最小になるような適当な平行移動量および回転角を求めることにより行う。ステップ206ではCT断面画像データを、算出された上記平行移動量および回転角だけ移動させて断面画像F1~F3の画像位置を補正する。 In step 205 of FIG. 5, the amount of parallel translation and rotation of the CT cross-sectional image data relative to the CAD cross-sectional image data is calculated based on the relative positional relationship between the corners C1'-C4' and the centers of gravity C1-C4. This calculation is performed, for example, by determining an appropriate amount of parallel translation and rotation angle that minimizes the least square error using the relative positional relationship between the corners C1'-C4' and the centers of gravity C1-C4 detected or calculated at multiple positions Z1-Z3 in the Z direction of the casting. In step 206, the CT cross-sectional image data is moved by the calculated amount of parallel translation and rotation angle to correct the image positions of the cross-sectional images F1-F3.

(平均輝度の算出、基準断面画像の生成)
図2のステップ103では、位置補正された断面画像F1~F3について、各画像領域(本実施形態では画素)の平均輝度を算出する。この平均輝度の算出は、必要数の同形の鋳造品Wについて、Z方向の同一位置で輪切りにされた各断面画像の各画像領域の輝度の平均を算出するものである。このように平均を算出することによって、鋳造品の内部に局部的な欠陥としての鋳巣があってこの部分で輝度が大きく変化していても、この平均化によって鋳巣による輝度変化は薄められて十分小さくなる。
(Calculation of average brightness, generation of reference cross section image)
2, the average brightness of each image region (pixel in this embodiment) is calculated for the position-corrected cross-sectional images F1 to F3. This calculation of the average brightness is carried out by calculating the average brightness of each image region of each cross-sectional image sliced at the same position in the Z direction for a required number of identically shaped castings W. By calculating the average in this manner, even if there is a blown cavity as a local defect inside the casting and the brightness changes significantly in this area, the averaging dilutes the brightness change due to the blown cavity and makes it sufficiently small.

一方、各断面画像のアーチファクトは常に同一位置に同一輝度で現れるから、上記のような輝度の平均を算出してもそのまま残存する。したがって、各画像領域の輝度を平均化し、このような平均輝度が付与された画像領域からなる基準断面画像を生成すると(ステップ104)、基準断面画像は、鋳巣が解消された鋳造品の断面画像にアーチファクトが重畳したものとなる。本実施形態では、このような基準断面画像を、鋳造品についてZ方向の複数(後述する三次元画像を得るのに必要な数)位置で生成しておく。 However, because artifacts in each cross-sectional image always appear at the same position with the same brightness, they remain as they are even if the average brightness is calculated as described above. Therefore, when the brightness of each image region is averaged and a reference cross-sectional image is generated consisting of image regions to which this average brightness has been assigned (step 104), the reference cross-sectional image is one in which artifacts are superimposed on a cross-sectional image of the casting from which the blowholes have been eliminated. In this embodiment, such reference cross-sectional images are generated at multiple positions in the Z direction for the casting (the number required to obtain a three-dimensional image, described later).

平均輝度算出ステップ103(図2)の詳細を図7に示す。図7のステップ301では基準断面画像データのCT値(輝度値に相当)を0にリセットしておく。続いてCT画像データのCT値を上記基準断面画像データに加算し(ステップ302)、この加算を必要数のCT断面画像データについて繰り返し(ステップ303)、ステップ304で基準断面画像データの全ての画素のCT値をCT断面画像データの個数(必要数)で除算する。 Details of the average brightness calculation step 103 (FIG. 2) are shown in FIG. 7. In step 301 in FIG. 7, the CT value (corresponding to the brightness value) of the reference cross-sectional image data is reset to 0. Next, the CT value of the CT image data is added to the reference cross-sectional image data (step 302), and this addition is repeated for the required number of CT cross-sectional image data (step 303). In step 304, the CT values of all pixels of the reference cross-sectional image data are divided by the number of CT cross-sectional image data (required number).

なお、平均輝度の算出は必ずしも上述のような算術平均には限られず、必要に応じて加重平均等によっても良い。 The calculation of the average brightness is not necessarily limited to the arithmetic mean as described above, but may be a weighted average, etc., if necessary.

B.欠陥検出用断面画像の生成
(検出断面画像の取得)
図8には欠陥検出用断面画像を生成するための手順を示す。最初にステップ401で検出断面画像を取得する。検出断面画像は、欠陥検出の対象となる鋳造品をテーブル上に載置して前述したCTによって得られるZ方向の所定位置での輪切り断面画像である。欠陥検出の対象となる鋳造品は、基準断面画像を生成してある鋳造品と同形のものである。
B. Generation of cross-sectional images for defect detection (acquisition of detection cross-sectional images)
8 shows a procedure for generating a cross-sectional image for defect detection. First, in step 401, a detection cross-sectional image is acquired. The detection cross-sectional image is a cross-sectional image cut in a predetermined position in the Z direction obtained by placing a casting that is to be subjected to defect detection on a table and using the above-mentioned CT. The casting that is to be subjected to defect detection has the same shape as the casting for which the reference cross-sectional image has been generated.

図8のステップ402では前述したと同様の手順(ステップ102、ステップ201~206参照)で検出断面画像の位置補正を行う。 In step 402 of FIG. 8, the position of the detected cross-sectional image is corrected using the same procedure as described above (see step 102 and steps 201 to 206).

(差分輝度の算出)
続いて図8のステップ403では、検出断面画像と基準断面画像の差分輝度を算出する。この場合の基準断面画像は、検出断面画像とZ方向の同一位置で鋳造品を輪切りして得られたものを使用する。ここで、検出断面画像は、鋳造品の断面画像にアーチファクトと鋳巣の画像(鋳巣がある場合には)が重畳したものとなっている。これに対して基準断面画像は、前述したように、鋳造品の断面画像部分にアーチファクトが重畳したものである。したがって、検出断面画像と基準断面画像の差分輝度を算出すれば、アーチファクトと、鋳造品の断面画像部分は除去されて、鋳巣の画像部分だけが残った欠陥検出用断面画像が得られることになる。
(Calculation of Differential Luminance)
Next, in step 403 of FIG. 8, the difference in brightness between the detected cross-sectional image and the reference cross-sectional image is calculated. In this case, the reference cross-sectional image is obtained by cutting the casting in a cross-sectional view at the same position in the Z direction as the detected cross-sectional image. Here, the detected cross-sectional image is a cross-sectional image of the casting on which an artifact and an image of a blowhole (if a blowhole exists) are superimposed. In contrast, the reference cross-sectional image is, as described above, a cross-sectional image of the casting on which an artifact is superimposed. Therefore, by calculating the difference in brightness between the detected cross-sectional image and the reference cross-sectional image, a defect detection cross-sectional image can be obtained in which the artifact and the cross-sectional image portion of the casting are removed and only the image portion of the blowhole remains.

差分輝度算出ステップ403の詳細を図9に示す。図9のステップ501ではCT断面画像データ(検出断面画像に対応)のCT値から基準断面画像データのCT値を減算し、減算結果が正値である場合はこれを0に設定し(ステップ502)、減算結果が負値である場合は-1を乗算して正値にする(ステップ503)。鋳巣がある場合にはその部分の輝度は低下するから減算値は大きな負値になる。そこで、これを正値に変換しておく。 Details of the differential brightness calculation step 403 are shown in Figure 9. In step 501 in Figure 9, the CT value of the reference cross-sectional image data is subtracted from the CT value of the CT cross-sectional image data (corresponding to the detected cross-sectional image), and if the result of the subtraction is a positive value, it is set to 0 (step 502), and if the result of the subtraction is a negative value, it is multiplied by -1 to make it a positive value (step 503). If there is a cast cavity, the brightness of that area will decrease, so the subtraction value will be a large negative value. Therefore, this is converted to a positive value.

(低差分輝度領域の除去)
図8のステップ404では、ステップ403で得られた欠陥検出用断面画像中の、輝度が閾値よりも小さい部分をノイズとして除去する。
(Removal of low brightness difference areas)
In step 404 in FIG. 8, any portion of the defect detection cross-sectional image obtained in step 403 that has a brightness lower than a threshold value is removed as noise.

(エッジノイズの除去、欠陥検出用断面画像の生成)
図8のステップ405では、鋳造品の輪郭に沿って生じる欠陥検出用断面画像中の高輝度部分をエッジノイズとして除去して欠陥検出用断面画像を生成する(ステップ406)。図10には、エッジノイズ除去ステップ405の詳細を示す。図10において、ステップ601で境界距離を設定し、ステップ602では、当該欠陥検出断面画像データに対応するCAD断面画像データで認識できる鋳造品の輪郭部から境界距離以下の領域内に零でない差分データ(差分輝度値)がある場合にこれを0に設定する。
(Removal of edge noise, generation of cross-sectional images for defect detection)
In step 405 in Fig. 8, high luminance parts occurring along the contour of the casting are removed as edge noise in the defect detection cross-sectional image to generate a defect detection cross-sectional image (step 406). Fig. 10 shows the details of the edge noise removal step 405. In Fig. 10, a boundary distance is set in step 601, and in step 602, if there is non-zero difference data (difference luminance value) within an area less than the boundary distance from the contour of the casting that can be recognized in the CAD cross-sectional image data corresponding to the defect detection cross-sectional image data, this is set to 0.

(欠陥検出用三次元画像の生成、鋳巣の特定)
図8のステップ407では、上記欠陥検出用断面画像を、鋳造品のZ方向の異なる輪切り位置で必要数取得して、欠陥検出用三次元画像を生成する。この欠陥検出用三次元画像は鋳巣部分(候補)のみが三次元空間に配置されたものとなる。そこで、続くステップ408では上記欠陥検出用三次元画像中の鋳巣候補から鋳巣を特定する。
(Generating 3D images for defect detection, identifying blowholes)
In step 407 in Fig. 8, a required number of cross-sectional images for defect detection are obtained at different cross-sectional positions in the Z direction of the casting to generate a three-dimensional image for defect detection. This three-dimensional image for defect detection is one in which only the cast cavity portions (candidates) are arranged in three-dimensional space. In the following step 408, the cast cavity is identified from the candidate cast cavity in the three-dimensional image for defect detection.

鋳巣特定ステップ408の詳細を図11に示す。図11のステップ701では、鋳巣判定基準(体積、長さ、存在位置)を設定する。ステップ702では、欠陥検出用三次元画像データにおいて連続した非零領域である鋳巣候補を検出する。続くステップ703では、検出された鋳巣候補の体積、長さ、存在位置を算出し、鋳巣判定基準を満たす場合は当該鋳巣候補を鋳巣と特定する(ステップ704からステップ705)。この手順を全ての鋳巣候補について行う(ステップ706)。 Details of the blowhole identification step 408 are shown in Figure 11. In step 701 of Figure 11, the blowhole identification criteria (volume, length, location) are set. In step 702, blowhole candidates that are continuous non-zero areas in the 3D image data for defect detection are detected. In the following step 703, the volume, length, and location of the detected blowhole candidates are calculated, and if the blowhole identification criteria are met, the blowhole candidate is identified as a blowhole (steps 704 to 705). This procedure is performed for all blowhole candidates (step 706).

(その他の実施形態)
上記実施形態では欠陥検出用三次元画像で鋳巣を特定するようにしたが、二次元の欠陥検出用断面画像で特定するようにしても良い。
上記実施形態において、各断面画像中の明らかな欠陥を目視等によって予め除いておくようにすれば、残る欠陥の特定を効率的に行うことができる。
上記実施形態では鋳造品の鋳巣を検出するものとしたが、本発明は製品の欠陥の検出に広く適用できるものである。
Other Embodiments
In the above embodiment, a cast cavity is identified using a three-dimensional image for defect detection, but it may be identified using a two-dimensional cross-sectional image for defect detection.
In the above embodiment, if obvious defects in each cross-sectional image are removed in advance by visual inspection or the like, the remaining defects can be efficiently identified.
Although the above embodiment is directed to detecting blowholes in a casting, the present invention can be widely applied to detecting defects in products.

1…X線照射器、2…ラインセンサ、3…コンピュータ、R…X線、W…鋳造品(製品)。 1...X-ray irradiator, 2...line sensor, 3...computer, R...X-ray, W...casting (product).

Claims (3)

所定数の同形製品を同一位置で輪切りした断面画像を取得し、これら断面画像の、対応する各画像領域の輝度を平均化した平均輝度を算出して、当該平均輝度を付与した前記各画像領域よりなる基準断面画像を生成し、一方、欠陥検出対象となる前記製品と同形の製品を前記同一位置で輪切りした検出断面画像を取得し、当該検出断面画像の各画像領域と当該各画像領域に相当する前記基準断面画像の各画像領域の輝度の差分をとった差分輝度を算出して、当該差分輝度を付与した画像領域よりなる欠陥検出用断面画像を生成し、前記欠陥検出用断面画像を前記製品の異なる輪切り位置で必要数生成して、これら欠陥検出用断面画像より欠陥検出用三次元画像を生成し、当該欠陥検出用三次元画像から欠陥を特定することを特徴とする製品の欠陥検出方法。 a detection cross-sectional image of a product having the same shape as the product to be subjected to defect detection, the detection cross-sectional image being obtained by cutting a predetermined number of products of the same shape at the same position, calculating an average brightness by averaging the brightness of each corresponding image area of these cross-sectional images, and generating a reference cross-sectional image consisting of each of the image areas to which this average brightness has been added; a detection cross-sectional image of a product having the same shape as the product to be subjected to defect detection, the detection cross-sectional image being obtained by cutting a product having the same shape as the product to be subjected to defect detection , the detection cross-sectional image being obtained by cutting the product at the same position, calculating a differential brightness by taking the difference between the brightness of each image area of the detection cross-sectional image and each image area of the reference cross-sectional image corresponding to each image area, and generating a defect detection cross-sectional image consisting of the image areas to which this differential brightness has been added; 前記所定数取得する各断面画像中から、明らかな欠陥を予め除いておく請求項1に記載の製品の欠陥検出方法。 2. The method for detecting defects in products according to claim 1 , further comprising the step of removing obvious defects in advance from each of the predetermined number of acquired cross-sectional images. 前記製品は鋳物であり、前記欠陥は鋳巣である請求項1又は2に記載の製品の欠陥検出方法。 3. The method for detecting defects in a product according to claim 1, wherein the product is a casting, and the defect is a blowhole.
JP2020204640A 2020-12-10 2020-12-10 How to detect product defects Active JP7635931B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020204640A JP7635931B2 (en) 2020-12-10 2020-12-10 How to detect product defects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020204640A JP7635931B2 (en) 2020-12-10 2020-12-10 How to detect product defects

Publications (2)

Publication Number Publication Date
JP2022092083A JP2022092083A (en) 2022-06-22
JP7635931B2 true JP7635931B2 (en) 2025-02-26

Family

ID=82067904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020204640A Active JP7635931B2 (en) 2020-12-10 2020-12-10 How to detect product defects

Country Status (1)

Country Link
JP (1) JP7635931B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023248573A1 (en) * 2022-06-24 2023-12-28 富士フイルム株式会社 Display control device, display control method, and display control program
CN118982539B (en) * 2024-10-21 2024-12-31 张家港宏羿球墨铸铁有限公司 A method and system for visual inspection of defects in CNC machine tool castings
CN121068629B (en) * 2025-11-03 2026-02-13 南通成科精密铸件有限公司 A method and system for classifying and detecting porosity defects in aluminum alloy castings

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006189349A (en) 2005-01-06 2006-07-20 Kawasaki Heavy Ind Ltd Nondestructive defect inspection system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61155843A (en) * 1984-12-28 1986-07-15 Toshiba Corp Radiation inspection device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006189349A (en) 2005-01-06 2006-07-20 Kawasaki Heavy Ind Ltd Nondestructive defect inspection system

Also Published As

Publication number Publication date
JP2022092083A (en) 2022-06-22

Similar Documents

Publication Publication Date Title
JP7635931B2 (en) How to detect product defects
US8452072B2 (en) Method and apparatus for inspecting tire shape
JP6591035B2 (en) Techniques for measuring the overlay between layers of multilayer structures.
US10054432B2 (en) X-ray inspection apparatus and control method
CN107957429B (en) Method for generating X-ray image data
EP1422516B1 (en) High speed x-ray inspection apparatus and method
US10809209B2 (en) Measurement processing device, x-ray inspection device, measurement processing method, measurement processing program, and structure manufacturing method
CN109483887A (en) Shaping layer contour accuracy online test method in the fusion process of selective laser
JP4631460B2 (en) X-ray inspection method
JP7646011B2 (en) Measuring device, additive processing system and cutting processing system
JP2008309646A (en) Method and device for inspecting tire
JP2019023664A (en) X-ray inspection processing apparatus and x-ray inspection method
JP6525837B2 (en) Product defect detection method
Ametova et al. A tool for reducing cone-beam artifacts in computed tomography data
CN117670976A (en) Diameter measurement method based on visual imaging detection equipment and related device
JP5888681B2 (en) Shape extraction method and shape extraction system
JP6018802B2 (en) Dimension measuring device and computer program
CN120672702A (en) Method, device, computer equipment and storage medium for controlling copper embedding quality of printed circuit board
JP2005525863A5 (en)
JP4449596B2 (en) Mounting board inspection equipment
JP6943100B2 (en) Defect detection method
JP6611415B2 (en) Internal defect detection method for industrial products
CN113643437A (en) Method and device for correcting depth image protrusion interference noise
CN101424524B (en) Inspecting method and inspecting system of assembly
JP7753638B2 (en) Measurement system, inspection system, measurement device, measurement method, inspection method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241004

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241008

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250204

R150 Certificate of patent or registration of utility model

Ref document number: 7635931

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150