The present invention relates to a surface defect detecting method and a surface defect detecting apparatus, for optically detecting a surface defect of a steel material.
In recent years, in manufacturing processes of steel products, in terms of improving the yield through prevention of mass incompatibility, detection of surface defects of hot or cold steel materials has been demanded. Steel materials referred to herein mean: steel products including steel sheets and shaped steel, such as seamless steel pipes, welded steel pipes, hot rolled steel sheets, cold rolled steel sheets, and thick plates; and semimanufactures, such as slabs produced when these steel products are manufactured. Thus, a method has been proposed, as a method of detecting a surface defect of a steel material, the method in which: a billet in a process of manufacturing a seamless steel pipe is irradiated with light; reflected light is received therefrom; and presence or absence of a surface defect is determined according to light quantity of the reflected light (see Patent Literature 1). Further, a method has also been proposed, in which: visible light beams of plural wavelength regions, which do not have mutual influence with emitted light radiated from a hot steel material and do not influence each other, are emitted from diagonal directions symmetrical to each other about a normal line of a surface of the hot steel material; an image by combined reflected light beams and images due to the individual reflected light beams are obtained in the normal direction of the surface of the hot steel material; and a surface defect of the hot steel material is detected from a combination of these images (see Patent Literature 2).
Patent Literature 1: Japanese Patent Application Laid-open No. 11-037949
Patent Literature 2: Japanese Patent Application Laid-open No. 59-052735
According to the method described in Patent Literature 1, since reflectivity of a harmless pattern or scale is different from reflectivity of a base steel portion, the sound harmless pattern or scale may be erroneously detected as a surface defect. Therefore, in the method described in Patent Literature 1, by utilizing the fact that the shape of the defect is linear, the defect and the scale are distinguished from each other. However, surface defects on a steel material not only have linear shapes, but also various shapes, such as circular shapes. Therefore, the method described in Patent Literature 1 is difficult to be applied to detection processing for a surface defect of a steel material. In the method described in Patent Literature 2, since there are a vast variety of defects, scale, harmless patterns, and the like, scale or a harmless pattern is difficult to be distinguished from a surface defect just by simple combination of images. Further, realistically, detection logic corresponding to the vast number of combinations of images is difficult to be constructed.
The present invention has been made in view of the above described problems, and an object thereof is to provide a surface defect detecting method and a surface defect detecting apparatus, which enable scale or a harmless pattern to be accurately distinguished from a surface defect.
A surface defect detecting method of optically detecting a surface defect of a steel material according to the present invention includes: an irradiation step of irradiating an examination target part with illumination light beams from different directions by using two or more distinguishable light sources; and a detection step of obtaining images by reflected light beams of the respective illumination light beams and detecting a surface defect in the examination target part by executing subtraction processing between the obtained images.
In the surface defect detecting method according to the present invention, the irradiation step includes a step of performing the irradiation with the illumination light beams by causing two or more flash light sources to repeatedly emit light such that light emission timings thereof do not overlap each other.
In the surface defect detecting method according to the present invention, the irradiation step includes a step of simultaneously emitting illumination light beams of two or more light sources having wavelength regions not overlapping one another, and the detection step includes a step of obtaining images by reflected light beams of the respective illumination light beams by separating, by use of filters that transmit light beams having wavelengths that are the same as wavelengths of the illumination light beams, the reflected light beams of the respective illumination light beams that have been mixed with one another.
In the surface defect detecting method according to the present invention, the irradiation step includes a step of simultaneously performing irradiation with illumination light beams of two light sources having linear polarization characteristics that are orthogonal to each other; and the detection step includes a step of obtaining images by reflected light beams of the respective illumination light beams by separating, by use of two polarization plates having linear polarization characteristics orthogonal to each other, the reflected light beams of the respective illumination light beams having been mixed with each other.
In the surface defect detecting method according to the present invention, an angle of incidence of the illumination light beams of the respective light sources with respect to the examination target part is in a range of not smaller than 25° and not larger than 55°.
In the surface defect detecting method according to the present invention, the detection step includes a step of adjusting, by using any of a half mirror, a beam splitter, and a prism, optical axes of plural imaging devices, which obtain images by reflected light beams of the respective illumination light beams, to be coaxial with one another.
In the surface defect detecting method according to the present invention, the detection step includes a first determination step of extracting a bright portion and a dark portion of an image obtained by the execution of subtraction processing between the obtained images, and determining presence or absence of a concavo-convex surface defect from a positional relation between the extracted bright portion and dark portion and irradiation directions of the illumination light beams.
In the surface defect detecting method according to the present invention, the first determination step includes a step of executing expansion processing with respect to images of the bright portion and the dark portion, and calculating a positional relation between the bright portion and the dark portion by extraction of an overlapping portion between the images of the bright portion and dark portion that have been subjected to the expansion processing.
In the surface defect detecting method according to the present invention, the first determination step includes a step of executing binarization processing and labeling processing with respect to images of the bright portion and the dark portion, and calculating a positional relation between the bright portion and the dark portion by comparing positions of the centers of gravity of the images that have been subjected to the labeling processing.
In the surface defect detecting method according to the present invention, the first determination step includes a step of calculating a positional relation between a bright portion and a dark portion by emphasizing the bright portion and the dark portion through filtering processing of images of the bright portion and dark portion.
In the surface defect detecting method according to the present invention, the first determination step includes a step of: calculating, as a feature amount, at least one of a luminance ratio, an area ratio, and a circularity of the bright portion and dark portion, from a combination of the bright portion and the dark portion obtained by the calculation of the positional relation between the bright portion and dark portion; and determining, based on the calculated feature amount, presence or absence of a concavo-convex surface defect.
In the surface defect detecting method according to the present invention, the detection step includes a second determination step of obtaining images by reflected light beams of the respective illumination light beams, extracting a bright portion and a dark portion of an image obtained by executing subtraction processing between the obtained images, calculating a shape feature amount that becomes an index of elongatedness of the extracted bright portion and dark portion, and determining, based on the calculated feature amount, presence or absence of an elongated defect.
In the surface defect detecting method according to the present invention, the second determination step includes a step of calculating, as the shape feature amount, at least one of: a major axis-minor axis ratio according to elliptic approximation; a maximum Feret's diameter; a circularity; and a convex polygon filling rate.
In the surface defect detecting method according to the present invention, the second determination step includes a step of determining the presence or absence of an elongated defect, based on, in addition to the shape feature amount, a direction of the bright portion and dark portion.
In the surface defect detecting method according to the present invention, the second determination step includes a step of determining a direction of the bright portion and dark portion by using any of: a major axis-minor axis ratio according to elliptic approximation; a maximum Feret's diameter; and a linear filter.
A surface defect detecting apparatus according to the present invention optically detects a surface defect of a steel material, and includes: an irradiation unit configured to irradiate an examination target part with illumination light beams from different directions by using two or more distinguishable light sources; and a detection unit configured to obtain images by reflected light beams of the respective illumination light beams and to detect a surface defect in the examination target part by executing subtraction processing between the obtained images.
A surface defect detecting apparatus according to the present invention optically detects a surface defect of a steel material, and includes: an irradiation unit configured to irradiate an examination target part with illumination light beams from different directions by using two or more distinguishable light sources; and a determination unit configured to obtain images by reflected light beams of the respective illumination light beams, to extract a bright portion and a dark portion of an image obtained by executing subtraction processing between the obtained images, and to determine presence or absence of a concavo-convex surface defect from a positional relation between the extracted bright portion and dark portion and irradiation directions of the illumination light beams.
A surface defect detecting apparatus according to the present invention optically detects a surface defect of a steel material, and includes: an irradiation unit configured to irradiate an examination target part with illumination light beams from different directions by using two or more distinguishable light sources; and a determination unit configured to obtain images by reflected light beams of the respective illumination light beams, to extract a bright portion and a dark portion of an image obtained by executing subtraction processing between the obtained images, to obtain a shape feature amount that becomes an index of elongatedness of the extracted bright portion and dark portion, and to determine, based on the calculated feature amount, presence or absence of an elongated defect.
By a surface defect detecting method and a surface defect detecting apparatus according to the present invention, scale or a harmless pattern is able to be accurately distinguished from a surface defect.
Hereinafter, by referring to the drawings, configurations and operation of surface defect detecting apparatuses according to first to third embodiments of the present invention will be described.
By referring to
[Configuration of Surface Defect Detecting Apparatus]
The light sources 2a and 2b irradiate the same examination target part on a surface of the steel pipe P with distinguishable illumination light beams L, according to trigger signals from the function generator 3. The light sources 2a and 2b are desirably arranged symmetrically about the examination target part. Therefore, the light sources 2a and 2b are arranged such that the light sources 2a and 2b are displaced from a normal vector of the surface of the steel pipe P by the same angle, and that irradiation direction vectors of the illumination light beams L and the normal vector of the surface of the steel pipe P are on the same plane. The sameness of their angles of incidence mentioned herein aims to make the optical conditions as equal as possible to each other when the differently directed light sources are distinguished from each other, and to largely reduce a signal of a sound portion including scale and a harmless pattern by subtraction processing. Further, a signal of a sound portion largely depends on characteristics of a surface of a target, and the sameness is difficult to be unconditionally guaranteed by a certain angle. Therefore, when the angles are in a range of 25° to 55°, even if the angles are a little different from each other, as long as a signal of a sound part is able to be reduced by subtraction processing, the angles will be expressed as being the same. In this embodiment, the number of light sources is two, but as long as the light sources are distinguishable from one another, the number of light sources may be three or more. Distinguishable light sources mentioned herein refer to light sources, for which a reflected light quantity is able to be found separately for each of the light sources with respect to reflected light beams obtained from a target.
The area sensors 4a and 4b capture two-dimensional images by reflected light beams of the illumination light beams L emitted from the light sources 2a and 2b according to trigger signals from the function generator 3. The area sensors 4a and 4b input data of the captured two-dimensional images to the image processing device 5. The area sensors 4a and 4b are desirably arranged on normal vectors of an examination target part as much as possible in a state where their respective imaging fields of view have been secured.
In order to solve a positioning problem, the area sensors 4a and 4b are made as close as possible to each other, and their optical axes are made as parallel as possible to each other. Further, as illustrated in
The image processing device 5 is a device that detects a surface defect in an examination target part, by executing later described subtraction processing between two two-dimensional images input from the area sensors 4a and 4b. The image processing device 5 outputs the two dimensional images input from the area sensors 4a and 4b and information related to a result of the surface defect detection to the monitor 6.
By executing surface defect detection processing described below, the surface defect detecting apparatus 1 configured as described above distinguishes scale or a harmless pattern from a surface defect in an examination target part. A surface defect mentioned herein refers to a concavo-convex defect. Further, scale or a harmless pattern means a portion having a surface film or surface characteristics with optical properties different from those of a base steel portion of a thickness of about several μm to several tens of μm, and is a portion that becomes a cause of noise in the surface defect detection processing. Hereinafter, surface defect detection processing according to first to third modes of the present invention will be described.
[First Mode]
Firstly, by referring to
That is, as illustrated in
If conveyance speed of the steel pipe P is fast, the light emission duration d of the flash light sources is desirably short. This is because, the shorter the light emission duration d is; the smaller the shutter delay between the two two-dimensional images obtained by the area sensors 4a and 4b becomes, and thus the smaller the positional displacement between the two-dimensional images due to the shutter delay is able to be made. Further, when detection of a surface defect by use of a subtraction image between the two-dimensional images by the individual reflected light beams is aimed, the light emission duration d of the flash light sources needs to satisfy a condition expressed by the following numerical expression (1).
Light emission duration d [see] ≦Minimum resolution [mm/pixel] ×Allowable positional displacement [pixels]/Line conveyance speed [mm/sec] (1)
If, a size of a surface defect aimed to be detected is, for example, 20 mm, since empirically, signals of at least 5×5 pixels are needed in order to detect the surface defect, the resolution may be 4 mm/pixel. Further, in this case, the allowable positional displacement due to the irradiation timings of the illumination light beams L empirically needs to be not more than 0.2 pixel, and thus if the conveyance speed of the steel pipe P is 1, 3, or 5 m/s, the light emission duration of the light sources 2a and 2b needs to be not greater than 800, 270, or 160 μsec, respectively. If the conveyance speed and conveyance direction of the steel pipe P is constant, this positional displacement may be corrected after the capturing of the two-dimensional images.
In this mode, after executing image processing, such as calibration, shading correction, noise removal, and the like by use of camera parameters derived in advance for two-dimensional images input from the area sensors 4a and 4b, the image processing device 5 detects a surface defect in an examination target part, by executing subtraction processing between the two-dimensional images.
Specifically, if a luminance value of each pixel constituting a two-dimensional image Ia obtained when the illumination light beam L is emitted from the light source 2a is Ia(x, y) (where the number of pixels is X×Y, the x-coordinate is 1≦x≦X, and the y-coordinate is 1≦y≦Y) and a luminance value of each pixel constituting a two-dimensional image Ib obtained when the illumination light beam L is emitted from the light source 2b is Ib(x, y), a luminance value I_diff(x, y) of each pixel of their subtraction image I_diff is expressed by the following numerical equation (2).
I_dif(x, y)=Ia(x,y)−Ib(x, y) (2)
Examples of the two-dimensional images Ia and Ib capturing a surface defect, and scale and a harmless pattern, which are not defects, and their subtraction image I_diff are illustrated in
Therefore, by a subtraction device 11 generating a subtraction image between two two-dimensional images, scale and a harmless pattern, which are not defects, are removed, and only a surface defect is able to be detected. Only a surface defect is detected as described above, final evaluation of whether or not the surface defect is harmful is made through various feature amounts, and a result of the evaluation is displayed on the monitor 6.
If there is a positional displacement between the two two-dimensional images and this influences the subtraction image, a two-dimensional low pass filter is desirably used to reduce the influence of the positional displacement between the two-dimensional images. In this case, if the two-dimensional low pass filter is “H”, a luminance value I′_diff(x, y) of the subtraction image is expressed by the following numerical equation (3).
I′_diff(x, y)=H*(Ia(x, y)−Ib(x, y)) (3)
Further, preferably, as the light sources 2a and 2b, light sources that are the same are used, each of the light sources emits light so that the light becomes uniform parallel light as much as possible, and the examination target part is approximately planar. However, in application to a case where the surface is a little nonuniform or to a smooth curved surface like the steel pipe P, a surface defect is able to be detected by general shading correction.
Further, the angle of incidence of the illumination light beams L is desirably in a range preventing a mirror reflection component from entering reflected light from a sound portion and enabling sufficient light quantity to be secured. The inventors of the present invention conducted an experiment to investigate a relation between angle of incidence of the illumination light beams L and reflectivity of a sound portion (base steel portion). A configuration of an apparatus used in the experiment is illustrated in
Depth direction resolution of an examination target part depends on an inclination angle of a defect and resolutions of the area sensors 4a and 4b. The inclination angle of a defect is an angle obtained by orthographically projecting “a normal vector of a defect portion” to “a plane formed of a light source direction vector and a normal vector of a surface of a sound portion of an examination target part”, the angle formed between the orthographically projected vector and the normal vector of the surface of the sound portion. Although dependent on characteristics of the surface of the examination target part, when irradiation is performed with incident light at an angle of incidence of, for example, 45°, if the inclination angle of the defect is not smaller than about 10° with respect to the light source direction, it has been confirmed that a defect signal is detectable by subtraction processing. Therefore, if a resolution of one pixel is assumed to be 0.5 mm, theoretically, a depth direction resolution of about 0.5×tan10°=0.09 mm is obtained.
[Second Mode]
Next, by referring to
In the surface defect detection processing according to a second mode of the present invention, by using light sources having wavelength regions not overlapping each other as the light sources 2a and 2b, the light sources 2a and 2b are distinguished from each other. Specifically, as illustrated in
According to this configuration, the reflected light beam of the illumination light beam L from the light source 2a is received only by the area sensor 4a through the wavelength selection filters 20a and 21a, and the reflected light beam of the illumination light beam L from the light source 2b is received only by the area sensor 4b through the wavelength selection filters 20b and 21b. Therefore, by matching imaging timings of the area sensors 4a and 4b to each other, two-dimensional images by the reflected light beams of the illumination light beams L from the light sources 2a and 2b are able to be captured without any positional displacement. Processing after the capturing of the two-dimensional images is similar to that of the first mode.
When the moving speed of an examination target part is large, in order to prevent positional displacement due to the movement of the examination target part, by using flash light sources as the light sources 2a and 2b, imaging times of the two dimensional images may be shortened without changing irradiation timings of the light sources 2a and 2b. Further, a configuration may be adopted, in which, by capturing two-dimensional images by using a blue transmission filter as the wavelength selection filter 20a and a green transmission filter as the wavelength selection filter 20b and using a single color camera, only the reflected light beam of the illumination light beam L from the light source 2a is received in the blue channel and only the reflected light beam of the illumination light beam L from the light source 2b is received in the green channel.
[Third Mode]
Next, by referring to
In the surface defect detection processing according to the third mode of the present invention, by using light sources having linear polarization characteristics orthogonal to each other as the light sources 2a and 2b, the light sources 2a and 2b are distinguished from each other. Specifically, as illustrated in
According to this configuration, the reflected light beam of the illumination light beam L from the light source 2a is received only by the area sensor 4a, and the reflected light beam of the illumination light beam L from the light source 2b is received only by the area sensor 4b. Therefore, by matching imaging timings of the area sensors 4a and 4b to each other, two-dimensional images by the reflected light beams of the illumination light beams L from the respective light sources are able to be captured without any positional displacement.
When moving speed of an examination target part is large, by using flash light sources as the light sources 2a and 2b, imaging times of the two dimensional images may be shortened without changing irradiation timings of the light sources 2a and 2b. Positioning and processing after the capturing of the two dimensional images are similar to those of the first and second modes.
In this example, as illustrated in
In this modified example, a dichroic mirror is used instead of the wavelength selection filters 21a and 21b arranged at the area sensors 4a and 4b in the surface defect detecting apparatus illustrated in
Next, by referring to
By executing surface defect detection processing described below, the surface defect detecting apparatus 1 according to the second embodiment of the present invention distinguishes a concavo-convex surface defect from scale or a harmless pattern in an examination target part. Scale or a harmless pattern means a portion having a surface film or surface characteristics with optical properties different from those of a base steel portion of a thickness of about several μm to several tens of μm, and is a portion that becomes a cause of noise in the surface defect detection processing.
[Surface Defect Detection Processing]
In surface defect detection processing according to one of the embodiments of the present invention, after executing image processing, such as calibration, shading correction, noise removal, and the like by use of camera parameters derived in advance for two two-dimensional images input from the area sensors 4a and 4b, the image processing device 5 generates a subtraction image by executing subtraction processing between the two-dimensional images, and detects, from the generated subtraction image, a concavo-convex surface defect in an examination target part.
Specifically, if a luminance value of each pixel constituting a two-dimensional image Ia obtained when the illumination light beam L is emitted from the light source 2a is Ia(x, y) (where the number of pixels is X×Y, the x-coordinate is 1≦x≦X, and the y-coordinate is 1≦y≦Y) and a luminance value of each pixel constituting a two-dimensional image Ib obtained when the illumination light beam L is emitted from the light source 2b is Ib(x, y), a luminance value I_diff(x, y) of each pixel of their subtraction image I_diff obtained by subtraction processing is expressed by the numerical expression (1) already mentioned.
As illustrated in
Next, logic of detecting a concavo-convex surface defect from the subtraction image I_diff will be described.
In other words, brightness patterns of reflected light beams of the illumination light beams are different between a case where the surface shape of the examination target part is concave shaped and a case where the surface shape is convex shaped. Therefore, by recognition of the brightness pattern of the reflected light beam, presence or absence of a concavo-convex surface defect is able to be detected. Thus, hereinafter, a method of detecting a concavo-convex surface defect by recognizing a brightness pattern of a reflected light beam will be described. Hereinafter, a concave shaped surface defect will be detected, of concavo-convex surface defects, but a convex shaped surface defect may be detected according to similar logic. Further, a bright portion mentioned below means a blob, which has an area not smaller than a predetermined value obtained by execution of connection processing with respect to pixels having luminance not smaller than a predetermined threshold in the subtraction image I_diff. Further, a dark portion mentioned below refers to a blob, which has an area not smaller than a predetermined value obtained by execution of connection processing with respect to pixels having luminance not greater than a predetermined threshold in the subtraction image I_diff. A blob means a collection of labelled pixels.
In this embodiment, a brightness pattern is recognized by extraction of a bright portion and a dark portion through execution of threshold processing. Specifically, in the surface defect detecting apparatus 1 according to this embodiment, since the light sources 2a and 2b are arranged to be left-right symmetrical to each other about a normal vector of an examination target part, a brightness pattern of reflected light resulting from a concavo-convex shape of the surface is generated in a left-right direction. Left and right of brightness is reversed according to the order of subtraction processing, and thus, herein, when the right is bright and the left is dark, the surface is concave shaped and when the right is dark and the left is bright, the surface is convex shaped. Therefore, the subtraction image I_diff of the convex shaped surface defect becomes like the one illustrated in
I_blight(x, y)=1(When I_diff (x, y)≧The) I_blight(x, y)=0(When I_diff(x, y)<The) I_dark(x, y)=1(When I_diff(x, y)≦−The) I_dark(x, y)=0(When I_diff(x, y)>−The) (4)
After binarizing the images of the bright portion and dark portion as described above and, as necessary, executing connection and isolated point removal, by calculating a positional relation between the bright portion and dark portion, presence or absence of a concavo-convex surface defect is detected. There are various methods of calculating the positional relation between the bright portion and dark portion, and hereinafter, three representative calculation methods will be described, but any other method enabling calculation of the positional relation between the bright portion and dark portion may be adopted.
A first positional relation calculation method is a method of calculating the positional relation between the bright portion and dark portion by execution of expansion and contraction processing in a specific direction with respect to the bright portion and dark portion. A flow chart of this calculation method is illustrated in
I_blight_extend(x1, y)=1x−W≦x1≦x(When I_blight(x, y)=1) I_dark_extend(x1, y)=1x≦x1≦x+W(When I_dark(x, y)=1) (5)
In this embodiment, although the bright portion and dark portion are expanded by the same length W, the expanded length W is not necessarily the same, and to be extreme, expansion processing may be executed with respect to only one of the bright portion and dark portion. Further, the expanded length W also depends on the size of the surface defect desired to be detected.
Next, by executing AND processing with respect to the images I_blight_extend and I_dark_extend of the bright portion and dark portion that have been subjected to the expansion processing as expressed by the following numerical equation (6), the image processing device 5 extracts a defect candidate portion image I_defect, which is an overlapping portion between the images I_blight extend and I dark extend of the bright portion and dark portion that have been subjected to the expansion processing (Steps S2a and S2b).
I_defect=I_blight_extend & I_dark_extend (6)
Next, after executing connection and isolated point removal processing as necessary with respect to each defect candidate portion image I_defect obtained, the image processing device 5 generates a defect candidate blob I_defect_blob by executing labeling processing (Step S3). The image processing device 5 extracts a feature amount of each defect candidate blob I_defect_blob, and determines, based on a result of the extraction, whether or not each defect candidate blob I_defect_blob is a concave shaped surface defect (Steps S4a and S4b). Investigating the feature amount of the defect candidate blob I_defect_blob requires information of the bright portion and dark portion, and thus the bright portion and dark portion are restored from the defect candidate blob I_defect_blob.
Specifically, since a bright portion is always present on the right side of a defect candidate portion and a dark portion is always present on the left side thereof, the image processing device 5 searches the dark portion binarized image I_dark to the left with the center of gravity of the defect candidate blob I_defect_blob being a starting point, and regards a blob that is found first as a dark portion defect candidate blob I_dark_blob. Similarly, the image processing device 5 searches the bright portion binarized image I_blight to the right with the center of gravity of the defect candidate blob I_defect_blob being a starting point, and regards a blob found first as a bright portion defect candidate blob I_blight_blob. The image processing device 5 extracts feature amounts from the bright portion defect candidate blob I_blight_blob and dark portion defect candidate blob that have been restored as described above, and determines, based on the extracted feature amounts, whether or not each defect candidate blob I_defect_blob is a concave shaped surface defect. Specific feature amounts differ according to defects and thus without mentioning the specific feature amounts herein, an example thereof will be described in a later described example.
In a second positional relation calculation method, after the above described threshold processing is executed and as necessary, connection and isolated point removal processing is executed; a bright portion and a dark portion are extracted, labeling is executed, and a positional relation between the bright portion and the dark portion is recognized, to thereby detect a concave shaped surface defect. Specifically, firstly, the image processing device 5 recognizes a bright portion and a dark portion individually by labeling, and obtains center of gravity information of the bright portion and dark portion. Next, the image processing device 5 determines, from the center of gravity information of the bright portion and dark portion, whether or not the center of gravity of the dark portion is present in a predetermined range on a right side of each bright portion. If the center of gravity of the dark portion is present therein, the image processing device 5 recognizes the combination of the bright portion and dark portion forming a pair as a brightness pattern, and determines whether or not it is a concave shaped surface defect, by executing feature mount analysis of the brightness pattern. Although the brightness pattern is recognized by use of the center of gravity information herein, information used in the recognition of the brightness pattern is not necessarily the center of gravity information as long as the information enables positions of the bright portion and dark portion to be grasped (for example, their upper end positions, lower end positions, and the like).
In a third positional relation calculation method, without executing the above described threshold processing, by recognizing a brightness pattern by use of a filter, a concave shaped surface defect is detected. Specifically, in the surface defect detecting apparatus 1 illustrated in
As illustrated in
I_cont=H*I_diff (7)
As necessary, several types of filters having different ranges in a width direction may be prepared in advance so as to be compatible with many surface defect sizes. After executing connection and isolated point removal processing as necessary, with respect to the two-dimensional image with its brightness pattern emphasized as described above, the image processing device 5 extracts the defect candidate portion image I defect by executing threshold processing. The image processing device 5 detects a concave shaped surface defect by executing processing similar to that of the first positional relation calculation method, with respect to the extracted defect candidate portion image I_defect.
As clarified from the above description, in the surface defect detection processing according to one of the embodiments of the present invention, the same examination target part is irradiated with the illumination light beams L at approximately the same angle of incidence from different directions by use of the two distinguishable light sources 2a and 2b, the images by the reflected light beams of the respective illumination light beams L are obtained, the bright portion and dark portion of the image obtained by execution of subtraction processing between the obtained images are extracted, and presence or absence of a concavo-convex surface defect is determined from the positional relation between the extracted bright portion and dark portion and the irradiation directions of the illumination light beams L, and thus a concavo-convex surface defect is able to be accurately distinguished from scale or a harmless pattern.
In this embodiment, although the left and right brightness pattern is recognized since the light sources are arranged left-right symmetrically, even if the arrangement positions of the light sources are not left and right, and are not up-down symmetrical or not symmetrical, a concavo-convex surface defect is able to be detected by similar processing. Specifically, when the light sources are arranged to be up-down symmetrical to each other, since the brightness pattern just changes from the left-right direction to the up-down direction, if the brightness pattern is rotated by 90 degrees, a concavo-convex surface defect is able to be detected by similar processing.
Further, as illustrated in
Further, in this embodiment, although a concavo-convex surface defect is detected for the case where the illumination light beams are emitted from the directions symmetrical about the normal line of the examination target part, the irradiation directions of the illumination light beams are not necessarily symmetrical. Furthermore, the surface defect detection processing according to this embodiment is applicable to manufacturing lines in general for steel materials regardless of whether they are hot or cold.
In this example, surface defect detection processing using the above described first positional relation calculation method was applied to an examination target part, where a pit defect had been formed and to a sound examination target part, where a pit defect had not been formed. In this example, as feature amounts, a luminance ratio, an area ratio, and circularities of a bright portion and a dark portion were calculated. The circularities are values obtained by division of areas of the bright portion and dark portion by squares of lengths of their circumferences and normalization, and are used in determining whether or not shapes of the bright portion and dark portion are close to a circular shape. If the cause is the same among surface defects, luminances and areas are not likely to be significantly different from one another in the left and right signals, and accuracy of surface defect detection is improved by evaluating the left-right balance by use of the luminance ratio and area ratio. Further, since shade and shadow are evaluated, the bright portion and dark portion hardly become circular shaped, and since those close to a circular shape are able to be determined to be due to a different cause, circularities were included in the feature amounts. Further, areas of the bright portion and dark portion were calculated, and only any surface defect with an area not smaller than a predetermined value was made detectable. Results of the detection are illustrated in
Next, by referring to
By executing surface defect detection processing described below, the surface defect detecting apparatus 1 according to the third embodiment of the present invention distinguishes a concavo-convex surface defect from scale or a harmless pattern in an examination target part. Scale or a harmless pattern means a portion having a surface film or surface characteristics with optical properties different from those of a base steel portion of a thickness of about several μm to several tens of μm, and is a portion that becomes a cause of noise in the surface defect detection processing.
[Surface Defect Detection Processing]
The surface defect detecting apparatus 1 according to the above described second embodiment detects a concavo-convex surface defect by recognizing a brightness pattern of reflected light. However, depending on the shape or position of a surface defect, the brightness pattern of the reflected light may be unable to be generated. Specifically, particularly when the normal vector direction at the surface of the steel pipe is largely different from the optical axis direction of the area sensor and the shape of the surface defect is elongated as illustrated in
Accordingly, separately from the logic of detecting a concavo-convex surface defect by the recognition of a brightness pattern of reflected light, the surface defect detection processing according to one of the embodiments of the present invention has logic of detecting an elongated defect by recognition of a shape of a surface defect. An elongated defect mentioned herein means a surface defect having a linear elongated shape characteristic.
In the surface defect detection processing according to one of the embodiments of the present invention, firstly, after binarizing a subtraction image between a bright portion and a dark portion with a predetermined luminance threshold, and as necessary, executing connection and isolated point removal, the image processing device 5 executes labeling processing on images of the bright portion and dark portion (Steps S1a and S1b). Next, the image processing device 5 extracts images of a bright portion and a dark portion having areas not smaller than a predetermined threshold, from the labeling processed images of the bright portion and dark portion (Step S2). The image processing device 5 then calculates a shape feature amount of a surface defect, which becomes an index of elongatedness, for the extracted images of the bright portion and dark portion, and detects, based on the calculated shape feature amount of the surface defect, an elongated defect (Step S3).
Examples of shape feature amounts of a surface defect, the shape feature amounts becoming indices of elongatedness, include a major axis-minor axis ratio of an ellipse, a maximum Feret's diameter, a circularity, and a convex polygon filling rate. Specifically, if a major axis-minor axis ratio is calculated as a shape feature amount, as illustrated in
A Feret's diameter is, as illustrated in
Further, as illustrated in
When an elongated defect is detected, by considering, not only a shape feature amount of the surface defect, but also a direction of the surface defect, such as a vertical direction, a horizontal direction, or a diagonal direction, accuracy of detection for the elongated defect is able to be improved. For example, a direction of a surface defect is able to be checked by finding: a direction in which the major axis is oriented if the major axis-minor axis ratio is calculated as a shape feature amount of a surface defect; and a rotation angle of the image of the bright portion or dark portion upon obtainment of the maximum Feret's diameter if the maximum Feret's diameter is calculated as a shape feature amount of the surface defect. Further, although details thereof will be omitted, by subjecting the image to a linear filter emphasizing a specific direction, a direction of a surface defect may also be checked.
Further, in this embodiment, the light sources are arranged left-right symmetrically about the normal vector of the steel pipe, but even if the arrangement positions of the light sources are not left-right symmetrical about the normal vector of the steel pipe, and is not up-down symmetrical or not symmetrical as illustrated in
As clarified from the above description, in the surface defect detection processing according to one of the embodiments of the present invention, the same examination target part is irradiated with the illumination light beams L at approximately the same angle of incidence from different directions by use of the two distinguishable light sources 2a and 2b, the images by the reflected light beams of the respective illumination light beams L are obtained, the bright portion and dark portion of the image obtained by execution of subtraction processing between the obtained images are extracted, the shape feature amount that becomes an index of elongatedness of the extracted bright portion and dark portion is calculated, and presence or absence of an elongated defect is determined based on the calculated shape feature amount, and thus the elongated defect is able to be accurately distinguished from scale or a harmless pattern.
In this example, surface defect detection processing of the present invention was applied to an examination target part, where an overrun defect had been formed, and to a sound examination target part, where an overrun defect had not been formed. An overrun defect is a surface defect characterized in that the surface defect has a linear elongated shape, and is directed obliquely upward to the right with respect to the rolling direction. Presence or absence of an overrun defect was determined by calculating a major axis-minor axis ratio and a major axis angle as shape feature amounts of a surface defect and comparing the calculated major axis-minor axis ratio and major axis angle with predetermined thresholds. Results of the determination are illustrated in
The embodiments, to which the invention made by the inventors has been applied, have been described above, but the present invention is not limited by the description and drawings forming a part of disclosure of the present invention through these embodiments. That is, any other embodiments, working examples, operation techniques, and the like implemented by those skilled in the art or the like based on the embodiments are all included in the scope of the present invention.
According to the present invention, a surface defect detecting method and a surface defect detecting apparatus, which enable a surface defect to be accurately distinguished from scale or a harmless pattern, are able to be provided.
1 SURFACE DEFECT DETECTING APPARATUS
2
a, 2b LIGHT SOURCE
3 FUNCTION GENERATOR
4
a, 4b AREA SENSOR
5 IMAGE PROCESSING DEVICE
6 MONITOR
L ILLUMINATION LIGHT BEAM
P STEEL PIPE
Number | Date | Country | Kind |
---|---|---|---|
2013-270881 | Dec 2013 | JP | national |
2014-090995 | Apr 2014 | JP | national |
2014-090996 | Apr 2014 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2014/084077 | 12/24/2014 | WO | 00 |