Surface inspection support method and surface inspection support device
The surface inspection method and device use a line concentration filter to objectively distinguish defective areas from normal areas on molded parts, improving defect detection accuracy and quantification.
Patent Information
- Application Number
- JP2021010284
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-01-26
AI Technical Summary
Existing methods for detecting defects on molded parts, such as resin injection molded parts, suffer from variations in detection judgment, making it difficult to identify which molding conditions caused the defects and leading to mixed detection of normal and defective areas, which complicates the presentation of quantitative delivery specifications.
A surface inspection method and device that utilizes a line concentration filter to calculate the degree of coincidence between gradient vectors and orthogonal vectors for each pixel, generating an analysis image that clearly distinguishes between defective and normal areas by applying a line concentration filter and displaying position specifying images as overlays.
Enables easy and objective detection of defective areas on molded parts by clearly distinguishing them from normal areas, facilitating accurate identification and quantification of defects.
Smart Images

Figure 0007557385000002 
Figure 0007557385000004 
Figure 0007557385000009
Abstract
Description
[Technical field]
[0001] The present invention relates to a surface inspection support method and a surface inspection support device that, when detecting defective portions of a molded part using a line convergence filter, presents images that can easily and objectively distinguish between defective areas, which are defective portions on the surface of the molded part, and normal areas, which are not defective portions, thereby contributing to surface inspection. [Background technology]
[0002] Conventionally, there are those that use a line convergence index filter that evaluates the degree of convergence of a linear pattern from a captured image to one point. In particular, in the interpretation of medical images, the evaluation of the degree of convergence of lines and vectors is often important. Using the line convergence index filter, it is possible to detect the fold pattern of the stomach wall, the retraction of blood vessels around malignant tumors, spicules, etc. in double contrast X-ray images of the stomach.
[0003] Patent Document 1 discloses a method for measuring luminance gradient vectors for multiple measurement points on an image, calculating the concentration of the luminance gradient vectors, and determining that line information is present when the line concentration reaches a maximum.
[0004] Patent document 2 discloses a method for identifying cavities by calculating a concentration gradient vector from the light and dark density of a transmitted image of a resin molding and using a concentration filter to emphasize the difference in light and dark density between the cavity contained in the resin molding and the surrounding area.
[0005] Patent Document 3 discloses a method for extracting regions having a brightness equal to or greater than a predetermined threshold value as defect regions in an image of an object to be inspected, such as a semiconductor wafer, calculating a brightness gradient vector of the extracted defect region, and classifying the defects into foreign matter defects, unevenness defects, etc., based on the component amount of the brightness gradient vector. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2005-284697 A [Patent Document 2] JP 2003-266479 A [Patent Document 3] JP 2005-294521 A Summary of the Invention [Problem to be solved by the invention]
[0007] However, defects such as stripes of fine unevenness that occur during injection molding, or sink marks, which are depressions caused by the thermal shrinkage of the resin, may occur on the surface of molded parts such as resin injection molded parts. These defects have been detected by visual inspection, which has led to variations in the detection and judgment of the defects. For this reason, it has taken a lot of time to identify which molding conditions caused the defects. Furthermore, this variation means that it is not possible to quantitatively present the delivery specifications of the molded parts, i.e., the acceptable quality.
[0008] In addition, the surface of a molded part contains normal areas that are not defective parts such as decorative lines, and even if fine irregularities on the surface are detected using a conventional line convergence filter, normal areas are detected mixed in with defective parts such as stains or sink marks, making it difficult to identify the defective parts in many cases.
[0009] The present invention has been made to solve the above-mentioned problems, and aims to provide a surface inspection support method and a surface inspection support device that, when detecting defective portions of a molded part using a line convergence filter, presents images that can easily and objectively distinguish between defective areas, which are defective portions on the surface of the molded part, and normal areas, which are not defective portions, and are useful for surface inspection. [Means for solving the problem]
[0010] In order to solve the above-mentioned problems and achieve the object, the present invention is characterized by including a surface image acquisition step of acquiring a surface image of a molded part to be evaluated; a line concentration index analysis image generation step of generating a line concentration index analysis image applied with a line concentration index filter to calculate the degree of correspondence between a maximum gradient vector obtained by applying a differential filter to each pixel in a search area set based on a pixel of interest, which is each pixel of the surface image, and an orthogonal vector that is perpendicular to a vector of interest passing through the pixel of interest and has a direction toward the vector of interest, for each rotation of the vector of interest around the pixel of interest, the value with the highest degree of correspondence being the analysis result value of the pixel of interest, and the analysis result value being calculated for each pixel of the surface image; and a display step of displaying a position identification image in the line concentration index analysis image that can clearly distinguish between defective areas of defective parts and normal areas that are not defective parts in the line concentration index analysis image.
[0011] In addition, the present invention is characterized in that, in the above invention, it includes a parameter setting step of setting parameters of the line convergence index filter including the search area according to the size and unevenness characteristics of the defective portion occurring in the molded part.
[0012] In the above-mentioned invention, the normal area that is not a defective portion is a design line of the molded part.
[0013] In the present invention, in the above-mentioned invention, the display step displays a position specifying image indicating that the design line is the design line on the line convergence degree analysis image in an overlay manner.
[0014] In addition, in the above-mentioned invention, the present invention includes a binary image generation step of generating a binary image by binarizing an image obtained by performing edge detection processing on the surface image, and the display step is characterized in that it overlays and displays a position identification image that identifies normal areas based on the binary image.
[0015] In the above-mentioned invention, the display step displays, in an overlay manner, a position specifying image that specifies a normal region based on design data of the molded part.
[0016] In addition, in the above-mentioned invention, the present invention includes an inverted image generating step of generating an inverted image by inverting the brightness of the line convergence analysis image, and the display step is characterized in that a position specific image identifying a convex portion and a position specific image identifying a concave portion are overlaid in different colors based on the inverted image of the line convergence analysis image.
[0017] In the present invention, in the above-mentioned invention, the display step displays a position specifying image indicating the defective region and / or the normal region in an overlay manner with a predetermined transparency.
[0018] In the present invention, in the above-mentioned invention, the display step switches between displaying and not displaying the position specifying image.
[0019] In addition, in the above-mentioned invention, the present invention includes a discrimination binary image generation step of generating a discrimination binary image by binarizing the line concentration degree analysis image, and a measurement step of measuring numerical information of the defective area and / or normal area based on the discrimination binary image, and is characterized in that the display step displays the numerical information on or outside the line concentration degree analysis image.
[0020] In the present invention, in the above-mentioned invention, the display step displays the line convergence degree analysis image in a reversed manner.
[0021] In the present invention, in the above-mentioned invention, the parameter setting step sets the parameters based on a distance between the surface of the molded part and an imaging unit and an imaging angle of view when the surface image is acquired.
[0022] In the present invention, in the above-mentioned invention, the molded part is a resin part that is injection molded, and the parameter setting step sets the parameters in accordance with a viscosity of the resin.
[0023] In the above-mentioned invention, the molded part is an injection-molded resin part, and the defective area is a smear, a sink mark, a scratch, or a weld line.
[0024] The present invention is also characterized by comprising a surface image acquisition unit that acquires a surface image of the molded part to be evaluated, a line concentration index analysis image generation unit that generates a line concentration index analysis image subjected to a line concentration index filter that calculates the degree of correspondence between a maximum gradient vector obtained by applying a differential filter to each pixel in a search area set based on a pixel of interest, which is each pixel of the surface image, and an orthogonal vector that is perpendicular to a vector of interest that passes through the pixel of interest and has a direction toward the vector of interest, for each rotation of the vector of interest around the pixel of interest, sets the value with the highest degree of correspondence as the analysis result value of the pixel of interest, and calculates the analysis result value for each pixel of the surface image, and a display processing unit that displays a position identification image in the line concentration index analysis image that can clearly distinguish between defective areas of defective parts and normal areas that are not defective parts in the line concentration index analysis image. Effect of the Invention
[0025] According to the present invention, defective areas, which are defective portions on the surface of a molded part, and normal areas, which are not defective portions, are displayed as images that can be clearly distinguished from each other, so that defective areas can be easily and objectively detected. [Brief description of the drawings]
[0026] [Figure 1] FIG. 1 is a schematic diagram showing the configuration of a surface inspection support device according to the present embodiment. [Diagram 2] FIG. 2 is a flowchart showing a procedure of a surface inspection support process performed by the control unit. [Diagram 3] FIG. 3 is an explanatory diagram for explaining generation of a line convergence degree analysis image for a surface image. [Figure 4] FIG. 4 is an explanatory diagram for explaining the rotation of a vector of interest when generating a line convergence degree analysis image. [Diagram 5] FIG. 5 is a schematic diagram in which the positions of pixels with high analysis result values are indicated by dashed lines on a surface image. [Figure 6] FIG. 6 is a flowchart showing a process of generating a line convergence degree analysis image by the line convergence degree analysis image generating unit. [Figure 7] FIG. 7 is an explanatory diagram illustrating an example of generating a display image including a line convergence degree analysis image from a surface image. [Figure 8] FIG. 8 is a diagram showing an example of a display image according to the first modification. [Figure 9] FIG. 9 is a diagram showing an example of a display image according to the second modification. [Figure 10] FIG. 10 is a schematic diagram showing the configuration of a surface inspection support device according to the third modification. [Figure 11] FIG. 11 is a flowchart showing a procedure of a surface inspection support process performed by the control unit in the third modification. [Figure 12] FIG. 12 is an explanatory diagram for explaining generation of an example of a display image according to the third modification. [Figure 13] FIG. 13 is a diagram showing an example of a display screen of the fourth modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0027] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A surface inspection support method and a surface inspection support device according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
[0028] <Summary configuration> Fig. 1 is a schematic diagram showing the configuration of a surface inspection support device 1 according to the present embodiment. As shown in Fig. 1, the surface inspection support device 1 acquires an image of a surface S of a molded part 100 captured by an imaging unit 6, applies a line convergence filter to the acquired image, and displays an image in which defective areas, which are defective portions of the surface S, are clearly distinguished from normal areas, which are not defective portions, and has an input unit 2, a display unit 3, a storage unit 4, a control unit 5, and an imaging unit 6. The molded part 100 is, for example, a part that is produced by resin injection molding.
[0029] The input unit 2 is an input interface such as a mouse or a keyboard. The display unit 3 is a display interface such as a liquid crystal display that displays various information. The storage unit 4 is a storage device such as a hard disk drive or a non-volatile memory. The imaging unit 6 is an imaging device such as a camera.
[0030] The control unit 5 is a control unit that controls the entire surface inspection support device 1, and has an image acquisition processing unit 10, a binary image generating unit 11, a parameter setting unit 12, a line convergence analysis image generating unit 13, and a display processing unit 14. The control unit 5 stores programs corresponding to these functional units in a storage device such as a non-volatile memory or a magnetic disk device, and loads these programs into memory and executes them on the CPU to execute the corresponding processes.
[0031] The image acquisition processing section 10 operates the imaging section 6 to acquire a surface image of the surface S of the molded part 100. The imaging section 6 and the image acquisition processing section 10 function as a surface image acquisition section.
[0032] The binary image generating unit 11 generates a binary image by binarizing an image obtained by performing edge detection processing on the surface image. This binary image is used to detect normal areas such as decorative lines.
[0033] The parameter setting unit 12 sets the parameters of a line convergence filter including a search area according to the size and unevenness characteristics of defective parts such as tattered stripes and sink marks that occur on the surface S of the molded part 100. Tattered stripes and sink marks have different sizes and unevenness characteristics. Therefore, when highlighting tattered stripes, a tattered stripe detection mode in which a search area is set according to the size and unevenness characteristics of the tattered stripes may be selected, and when highlighting sink marks, a sink mark detection mode in which a search area is set according to the size and unevenness characteristics of the sink marks may be selected. Note that, like tattered stripes or sink marks, the parameters of a line convergence filter including a search area can also be set according to the size and unevenness characteristics of defective parts such as scratches or weld lines.
[0034] The line convergence analysis image generating unit 13 calculates the degree of coincidence between the maximum gradient vector obtained by applying a differential filter to each pixel in a search area set based on a pixel of interest, which is each pixel of the surface image, and an orthogonal vector that is perpendicular to the vector of interest and faces the vector of interest, for each rotation of the vector of interest around the pixel of interest, and sets the value with the highest degree of coincidence as the analysis result value of the pixel of interest.It then generates a line convergence analysis image by applying a line convergence filter that calculates the analysis result value for each pixel of the surface image.
[0035] The display processing unit 14 generates a display image in which a position specifying image capable of clearly distinguishing between defective areas of defective parts in the line concentration degree analysis image and normal areas that are not defective parts is displayed on the line concentration degree analysis image, and displays the display image on the display unit 3. At this time, the display processing unit 14 specifies design lines and the like that are normal areas using the binarized image, and overlays a position specifying image indicating a normal area or a position specifying image indicating a defective area on the line concentration degree analysis image. The display processing unit 14 may overlay a position specifying image that specifies normal areas such as design lines based on the design data of the molded part 100.
[0036] <Surface inspection support processing> Fig. 2 is a flowchart showing the procedure of a surface inspection support process performed by the control unit 5. As shown in Fig. 2, first, the control unit 5 acquires a surface image of the surface S of the molded part 100 by the imaging unit 6 (step S110).
[0037] Thereafter, the control unit 5 generates a binarized image by binarizing an image obtained by performing edge detection processing on the surface image (step S120). Furthermore, the parameter setting unit 12 sets a setting parameter for the line convergence index filter (step S130). Then, the line convergence index analysis image generating unit 13 performs a line convergence index analysis image generating process for generating a line convergence index analysis image using the line convergence index filter (step S140). Then, the display processing unit 14 identifies a normal area based on the binarized image, and displays a display image in which a position identification image that can distinguish between a defective area of a defective part and a normal area that is not a defective part in the line convergence index analysis image is overlaid on the line convergence index analysis image (step S150), and this process ends.
[0038] <Generation of line convergence analysis images using line convergence index filters> Fig. 3 is an explanatory diagram for explaining generation of a line convergence degree analysis image for the surface image D1, and Fig. 4 is an explanatory diagram for explaining rotation of a vector of interest when generating a line convergence degree analysis image.
[0039] First, when applying a line convergence index filter to a surface image D1, one pixel of interest 21 on the surface image D1 is identified. A vector of interest 22 passing through this pixel of interest 21 is also identified. Furthermore, right search regions E are defined on both sides of the vector of interest 22 in parallel with the vector of interest 22. R and left search area E L Set the right search area E R is the right area width W away from the target vector 22 R and the length of interest L extending in the direction of the vector of interest. L is the right search area E R The left area width W is set on the opposite side to the vector 22. Land the length of interest L extending in the direction of the vector of interest. Therefore, the search area E is the right search area E R and the left search area E L The rectangular area is determined by the right area width W R , Left area width W L is equal to or less than the maximum area width Wmax.
[0040] And the line convergence filter is the right search area E R A partial derivative of brightness is calculated for each pixel in the image. Specifically, a Sobel filter is applied. A gradient vector 20, which is the direction of this partial derivative, is calculated, and the angle φ of the maximum gradient vector having the largest partial derivative value is calculated. Then, the angle difference θ between the angle of an orthogonal vector 23 that is perpendicular to the target vector 22 and points toward the target vector 22, and the angle φ of the maximum gradient vector is calculated. Then, cos θ for each pixel is calculated. After that, the left search area E L Calculate cosθ for each pixel in the left search area E L The direction of orthogonal vector 23 in points toward vector of interest 22. The value of cosθ indicates the degree of coincidence between orthogonal vector 23 and the maximum gradient vector, and takes a value between 1 and -1. The value of cosθ shown in FIG. 3 is close to 1, indicating that the maximum gradient vectors are concentrated toward vector of interest 22. The maximum gradient vector is a vector that points from a darker side to a brighter side.
[0041] Then, the average value of cosθ of all pixels in the search area E, cosθave, is calculated. This cosθave is the degree of match with the currently specified target vector 22. Then, as shown in FIG. 4, the target vector 22 passing through the target pixel 21 is rotated halfway around the target pixel 21 in, for example, 16 steps, and cosθave, which is the degree of match with the target vector 22 at each rotation angle, is calculated. Since the rotation is 180 degrees, the rotation angle in one step is 11.25 degrees. Then, among the cosθave for the target vector 22 at each rotation angle, cosθavemax, which is the maximum value, is calculated as the analysis result value for the target pixel 21. If this analysis result value is large, the brightness of the pixel value of the target pixel 21 becomes a large value. Note that the partial differentiation by the Sobel filter is processed for brightness, but it may be luminance. Also, it is not limited to the Sobel filter, and any differentiation filter may be used as long as the direction of the gradient vector 20 can be obtained.
[0042] Then, all pixels on the surface image D1 are specified as the target pixels 21, and the above analysis result values are calculated. From the surface image D1, a line convergence analysis image is obtained in which the analysis result values are pixels.
[0043] FIG. 5 is a schematic diagram showing the positions of pixels with high analysis result values on the surface image D1 with dashed lines. As shown in FIG. 5, the ridgelines L11, L12, and L13 of the Torashima pattern shown with dashed lines are pixels with high line concentration, i.e., pixels with high brightness. In addition, the ridgeline L20 of the design line shown with dashed lines is also a pixel with high line concentration, i.e., pixels with high brightness. In other words, such ridgelines L11, L12, L13, and L20 appear clearly on the line concentration analysis image. In particular, the ridgelines L11, L12, and L13 of the Torashima pattern, which cannot be visually confirmed on the surface image D1, can be clearly visually confirmed.
[0044] The surface image D1 is a grayscale image obtained by converting the acquired color image into a grayscale image. The imaging unit 6 may directly acquire the surface image D1 as a grayscale image.
[0045] <Generation process of line concentration analysis image> FIG. 6 is a flowchart showing a process procedure for generating a line convergence analysis image by the line convergence analysis image generating unit 13. As shown in FIG. 6, first, the line convergence analysis image generating unit 13 acquires parameters of a line convergence filter (step S210). The parameters may be acquired by selecting a streaks detection mode or a sink mark detection mode. For example, if streaks occur at intervals of 20 mm and sink marks occur at intervals of about several mm, the parameters of the search area E are increased when detecting streaks, and the parameters of the search area are decreased when detecting sink marks. The appropriate values of these parameters can be acquired in advance by experiments, etc. In addition, since sink marks are recessed, it is preferable to invert the light and dark of the surface image D1 to obtain the analysis result value. The same applies to recessed parts of streaks.
[0046] Then, a pixel of interest 21 on the surface image D1 is determined (step S220), and a vector of interest 22 passing through the pixel of interest 21 is determined (step S230). Then, a search region E (E R ,E L The angle φ of the maximum gradient vector of each pixel in the search region E (E R ,E L ) is calculated as the average value cos θave of cos θ for each pixel in the vector 22 of interest (step S260). This determines the average value cos θave of one vector of interest 22 for one pixel of interest 21.
[0047] Thereafter, it is determined whether or not the rotation of the target vector 22 has been completed (step S270). If the rotation of the target vector 22 has not been completed (step S270: No), the target vector 22 is set to the next rotation angle (step S280), and the process proceeds to step S240 to calculate the average value cosθave of the target vector 22 having the next rotation angle for the same target pixel 21.
[0048] On the other hand, if the rotation of the target vector is completed (step S270: Yes), the maximum value cos θavemax among the average values cos θave of the target vectors 22 is determined as the analysis result value of the target pixel 21 (step S290).
[0049] Thereafter, it is determined whether or not the processing has been completed for all the target pixels 21 (step S300). If the processing has not been completed for all the target pixels 21 (step S300: No), the next target pixel 21 is set (step S310), and the process proceeds to step S220 to repeat the processing of determining the analysis result value for the set next target pixel 21.
[0050] On the other hand, if the processing has been completed for all the target pixels 21 (step S300: Yes), a line concentration analysis image made up of the analysis result values of each target pixel 21 is generated (step S320), this processing ends, and the process proceeds to step S150.
[0051] Fig. 7 is an explanatory diagram for explaining an example of generating a display image D4 including a line concentration degree analysis image D2 from a surface image D1. As shown in Fig. 7, first, a surface image D1 is acquired. This surface image D1 is an image of a part of the surface of a vehicle bumper. A line concentration degree analysis image generating unit 13 generates a line concentration degree analysis image D2 from this surface image D1. In this line concentration degree analysis image D2, in addition to the ridgelines L30-L32 of the design lines, the ridgelines L41-L43 of the torashima pattern appear clearly.
[0052] On the other hand, the binary image generating unit 11 generates a binary image D3 by performing edge extraction processing on the surface image D1. Only the ridgelines L30 to L32 of the design line are extracted in this binary image D3. Then, the display processing unit 14 generates a display image D4 in which position specifying images P30 to P32 that specify the positions of the ridgelines L30 to L32 of the design line are overlaid on the positions of the ridgelines L30 to L32 of the design line on the line concentration degree analysis image D2 using the binary image D3. In FIG. 7, the position specifying images P30 to P32 are linear images. In the case of sink marks, the position specifying images are circular images.
[0053] On this display image D4, the ridgelines L30-L32 of the design lines shown by the position specifying images P30-P32 and the ridgelines L41-L43 of the torashima where the position specifying images P30-P32 are not displayed are clearly distinguished, and the defective parts can be easily and objectively confirmed. The display image D4 also displays a weld line indicated by the ridgeline L44. This weld line is also a defective part. Based on the binarized image D3, the position specifying image may be overlaid only on the defective parts other than the ridgelines of the design lines. The position specifying image is not limited to the binarized image D3, and may be configured to specify a normal area (design line) based on the design data of the molded part.
[0054] Furthermore, the position characteristic image may not be displayed in a portion where the ridge of the design line and the ridge of the defective portion overlap on the display image D4. Furthermore, the display processing unit 14 may be configured to be able to switch between displaying and not displaying the position specifying image on the display image D4.
[0055] <Variation 1> 8 is a diagram showing an example of a display image D14 of Modification 1. In this Modification 1, a position specifying image P41 is overlaid on the display image D14 for all ridgelines, and a position specifying image P51 of the ridgelines in an inverted image obtained by inverting the brightness of the line convergence degree analysis image D2 is overlaid on the display image D14. The ridgelines in the inverted image are, for example, linear recesses. The area indicated by the position specifying image P41 is a convex portion, and the area indicated by the position specifying image P51 is a concave portion.
[0056] Display image D14 uses line convergence degree analysis image D2 with brightness not inverted, and simultaneously overlays position specifying image P41 showing convex parts and position specifying image P51 showing concave parts on the same line convergence degree analysis image D2. However, display colors of position specifying image P41 and position specifying image P51 are different. As a result, defective parts of Torashima are easily and objectively confirmed as defective parts of Torashima because position specifying image P41 showing ridge lines and position specifying image P51 showing linear concave parts are repeatedly displayed.
[0057] <Variation 2> 9 is a diagram showing an example of a display image D24 of Modification 2. In Modification 2, a position specifying image showing the ridgeline of the line convergence degree analysis image D2 is overlaid with a predetermined transparency, for example, semi-transparency. This makes the ridgeline easier to see without hiding the position specifying image of the line convergence degree analysis image D2.
[0058] <Variation 3> Fig. 10 is a schematic diagram showing the configuration of the surface inspection support device 1 according to Modification 3. As shown in Fig. 10, Modification 3 further includes a discrimination binary image generating unit 15 and a measurement unit 16. The discrimination binary image generating unit 15 generates a discrimination binary image by binarizing and discriminating the line convergence degree analysis image D2. For this binarization discrimination, for example, Otsu's binarization discrimination method can be used, which finds a threshold value that maximizes the degree of separation and automatically performs binarization.
[0059] The measurement unit 16 measures numerical information of the defective area and / or normal area based on the discrimination binary image. The numerical information is the length of the ridge if it is a linear ridge, and is the area if it is a planar ridge. The numerical information may also include the number of ridges or the like. In other words, the third modification can quantify the defective parts and perform an objective inspection of the defective parts.
[0060] <Surface inspection support processing> FIG. 11 is a flow chart showing a procedure of a surface inspection support process by the control unit 5 of the third modified example. The processes of steps S410 to S440 are the same as steps S110 to S140 of FIG. 2. As shown in FIG. 11, after the process of generating a line convergence degree analysis image (step S440), the discrimination binary image generating unit 15 generates a discrimination binary image by binarizing the line convergence degree analysis image D2 (step S450). After that, the measurement unit 16 measures numerical information of the defective area and / or normal area based on the discrimination binary image (step S460). Then, the display processing unit 14 overlays the numerical information on the line convergence degree analysis image D2 (step S470), and ends this process.
[0061] Fig. 12 is an explanatory diagram for explaining the generation of an example of a display image D24 of Modification Example 3. As shown in Fig. 12, the display image D24 is a display image generated by Modification Example 2. Here, in the discrimination binarized image D30, ridgelines appear after automatic binarization. The measurement unit 16 measures the length of each ridgeline appearing in this discrimination binarized image D30 as numerical information. Then, the numerical information is overlaid and displayed on the display image D24 corresponding to the position of each ridgeline.
[0062] <Modification 4> 13 is a diagram showing an example of a display screen EA of Modification 4. In Modification 3, the length of the ridgeline is measured as the numerical information, but in Modification 4, the number of ridgelines is measured and displayed outside the display image D14. Display image D14 is an overlay display of position-specific images of the ridgelines of the convex and concave portions, and numerical information is displayed in the display area EB, such as the number of ridgelines (bright lines) of the convex portions: 10 and the number of ridgelines (dark lines) of the concave portions: 7. By displaying this numerical information, the defective portions can be quantified and objectively inspected.
[0063] <Variation 5> In the fifth modification, the parameter setting unit 12 automatically sets parameters based on the distance between the surface S of the molded part 100 and the imaging unit 6 and the imaging angle of view when the surface image is acquired. The parameters are automatically set in accordance with the scale of the surface image to be acquired. Note that the parameters may be automatically set in accordance with the viscosity of the resin of the molded part when the parameters are automatically set.
[0064] In the above embodiment, the case where a defect such as a dent or a sink mark is targeted is shown, but the present invention can also be applied to the case where a scratch or a weld line is targeted.
[0065] Note that the configurations illustrated in the above embodiments and modifications are merely functional schematics, and are not necessarily physically configured as illustrated. In other words, the form of distribution and integration of each device is not limited to that illustrated, and all or part of the devices can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc. [Industrial Applicability]
[0066] The surface inspection support method and device of the present invention are useful when performing surface inspection by easily and objectively distinguishing between defective areas, which are defective portions on the surface of a molded part, and normal areas, which are not defective portions. [Explanation of symbols]
[0067] 1 Surface inspection support device 2 Input section 3 Display section 4 Storage section 5. Control section 6. Imaging unit 10 Image acquisition processing section 11. Binarized image generation section 12 Parameter setting section 13 Line concentration analysis image generation unit 14 Display processing section 15. Discriminant binary image generation unit 16 Measurement section 20 Gradient Vector 21 Pixel of interest 22 Focus Vector 23 Orthogonal Vectors 100 Molded parts cosθave average value cosθavemax Maximum value D1 Surface image D2 line concentration analysis image D3 Binarized Image D4, D14, D24 Display image D30 Discriminant binary image E Search area EA display screen EB display area EL left search area E R right search area L Length of interest L11~L13,L20,L30,L41~L43 Ridgeline P30,P41,P51 Position identification image S surface W L Left Area Width Wmax Maximum area width W R Right Area Width θ angle difference φ angle
Claims
1. A surface image acquisition step of acquiring a surface image of a molded part to be evaluated; a line convergence index analysis image generating step of applying a differential filter to each pixel in a search area set based on a pixel of interest, which is each pixel of the surface image, to obtain a degree of coincidence between a maximum gradient vector obtained by applying a differential filter to each pixel in the search area set based on a pixel of interest, which is each pixel of the surface image, and an orthogonal vector that is orthogonal to the vector of interest and points toward the vector of interest, for each rotation of the vector of interest around the pixel of interest, setting the value with the highest degree of coincidence as an analysis result value for the pixel of interest, and generating a line convergence index analysis image by applying a line convergence index filter that obtains the analysis result value for each pixel of the surface image; a display step of displaying a position specifying image capable of clearly distinguishing a defective area of a defective portion and a normal area not being a defective portion in the line convergence degree analysis image on the line convergence degree analysis image; A surface inspection support method comprising:
2. 2. The surface inspection support method according to claim 1, further comprising a parameter setting step of setting parameters of the line convergence filter including the search area in accordance with the size of the defective portion occurring in the molded part and the characteristics of the unevenness.
3. 3. The surface inspection support method according to claim 1, wherein the normal area that is not a defective portion is a design line of the molded part.
4. 4. The surface inspection support method according to claim 3, wherein the display step displays a position identification image indicating that the design line is the design line on the line convergence degree analysis image as an overlay.
5. a binary image generating step of generating a binary image by binarizing an image obtained by performing edge detection processing on the surface image, 5. The surface inspection support method according to claim 1, wherein the display step displays an overlay of a position specifying image that specifies a normal region based on the binarized image.
6. 5. The surface inspection support method according to claim 1, wherein the display step displays an overlay of a position specifying image that specifies a normal region based on design data of the molded part.
7. a reversed image generating step of generating a reversed image by inverting the brightness of the line convergence degree analysis image; The surface inspection support method according to any one of claims 1 to 5, characterized in that the display step overlays a position-specific image identifying a convex portion and a position-specific image identifying a concave portion in different colors based on an inverted image of the line convergence analysis image.
8. 8. The surface inspection support method according to claim 1, wherein the display step displays a position-specific image indicating the defective region and / or the normal region in an overlay manner with a predetermined transparency.
9. 9. The surface inspection support method according to claim 4, wherein the display step switches between displaying and not displaying the position specifying image.
10. a discrimination binary image generating step of generating a discrimination binary image by binarizing and discriminating the line convergence degree analysis image; a measuring step of measuring numerical information of the defective region and / or the normal region based on the discrimination binary image; Including, 10. The surface inspection support method according to claim 1, wherein the display step displays the numerical information on or outside the line convergence degree analysis image.
11. 11. The surface inspection support method according to claim 1, wherein the display step displays the line convergence degree analysis image in a reversed manner.
12. 3. The surface inspection support method according to claim 2, wherein said parameter setting step sets said parameters based on a distance between the surface of the molded part and an imaging unit and an imaging angle of view when said surface image is acquired.
13. the molded part is an injection molded resin part, 13. The surface inspection support method according to claim 2, wherein the parameter setting step sets the parameters in accordance with a viscosity of a resin.
14. the molded part is an injection molded resin part, 14. The surface inspection support method according to claim 1, wherein the defective area is a blemish, a sink mark, a scratch or a weld line.
15. a surface image acquisition unit that acquires a surface image of a molded part to be evaluated; a line convergence index analysis image generating unit which applies a differential filter to each pixel in a search region set based on a pixel of interest which is each pixel of the surface image, calculates a degree of coincidence between a maximum gradient vector obtained by applying a differential filter to each pixel in the search region set based on a pixel of interest which is each pixel of the surface image, and an orthogonal vector which is orthogonal to the vector of interest and faces the vector of interest for each rotation of the vector of interest around the pixel of interest, sets the value with the highest degree of coincidence as an analysis result value for the pixel of interest, and generates a line convergence index analysis image by applying a line convergence index filter which calculates the analysis result value for each pixel of the surface image; a display processing unit that displays a position specifying image that can clearly distinguish between a defective area of a defective portion and a normal area that is not a defective portion in the line convergence degree analysis image, on the line convergence degree analysis image; A surface inspection support device comprising:
Citation Information
Patent Citations
Flaw state input display system for vehicle
JP2001344468A
Method for examining cavity of resin molded product
JP2003266479A
Image processing method for line extraction, its program, and line concentration degree image filter
JP2005284697A
Equipment and method for defect classification
JP2005294521A
Data collation device, design data correction device, shape measurement device, data collation method and program
JP2017033374A
