WO1999052072A1 - Dispositif et procede de traitement d'images, support de stockage de programme pour traitement d'images, et dispositif d'inspection - Google Patents

Dispositif et procede de traitement d'images, support de stockage de programme pour traitement d'images, et dispositif d'inspection Download PDF

Info

Publication number
WO1999052072A1
WO1999052072A1 PCT/JP1999/001845 JP9901845W WO9952072A1 WO 1999052072 A1 WO1999052072 A1 WO 1999052072A1 JP 9901845 W JP9901845 W JP 9901845W WO 9952072 A1 WO9952072 A1 WO 9952072A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
line segment
line
image data
level
Prior art date
Application number
PCT/JP1999/001845
Other languages
English (en)
French (fr)
Inventor
Shiro Fujieda
Original Assignee
Omron Corporation
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 Omron Corporation filed Critical Omron Corporation
Priority to EP99913568.4A priority Critical patent/EP0996091B1/en
Priority to JP55030399A priority patent/JP3548748B2/ja
Priority to US09/445,304 priority patent/US7239740B1/en
Publication of WO1999052072A1 publication Critical patent/WO1999052072A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/64Analysis of geometric attributes of convexity or concavity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/48Extraction of image or video features by mapping characteristic values of the pattern into a parameter space, e.g. Hough transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10116X-ray image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30148Semiconductor; IC; Wafer

Definitions

  • Image processing equipment and methods media for storing programs for image processing, and inspection equipment
  • This discovery is based on the image processing device of the gray-level image.
  • Inspection equipment such as a medium that stores programs for image processing, image processing, and the presence, location, shape, direction, etc., of objects and objects. About.
  • the gray level of the target to be recognized is recognized.
  • recognition processing based on this binarized data is susceptible to effects such as lighting fluctuations and shading.
  • an X-ray transmission image such as in a void inspection of a soldering portion on a substrate
  • a large number of noises are generated on the image. Therefore, the contrast between the target object and the background may worsen, resulting in an unrecognizable state.
  • Recognition processing using normalization correlation operation It is necessary to set the model image of the target object in advance, so if the size of the target object changes in various ways, Not suitable.
  • the hardware configuration and the processing time are required. It leads to an increase.
  • the model image is rotated at a specified angle, and the normalized correlation operation is performed at each rotation angle position.
  • the equipment configuration and processing become more complicated.
  • the edge on the image is used to measure the position and orientation of the object with a rectangular contour, such as a chip component on a substrate. After tracking, specify the straight lines that correspond to the contour line of the object, and then calculate the equations for each straight line, and then use these equations to determine the equations. In some cases, a method of recognizing the position of the intersection of the obtained straight lines as the position of the component may be used. However, this method also complicates the processing such as edge tracking and operation of the equation.
  • the representative point of the target object can be refined without being affected by lighting fluctuations or complicating the device configuration. It can be extracted well.
  • the recognition is limited to a point symmetry or a polygon having at least two pairs of opposite sides parallel to each other. Therefore, it is impossible to recognize an object whose contour is asymmetric. Also, since the finally obtained representative point is a point inside the contour of the object, the extraction of the corners of the polygonal object and the orientation of the object are performed. It is difficult to apply it to the processing for measuring the air quality. Disclosure of the invention
  • the present invention enables stable image processing even for images with low contrast and images containing noise. aimed to .
  • This invention also aims at eliminating the need for setting the model image and simplifying the operation by the operator. Akira further aims at simplifying the configuration and processing.
  • the aim of this invention is to further reduce the restriction of objects as much as possible.
  • An image processing apparatus includes a plurality of pixels, each of which has a level of data, and is stored in a given image data. Therefore, the gradient calculation means for calculating at least the direction of the level gradient of the processing unit, and the calculation based on the gradient calculation method described above. .- ⁇ J- '
  • Fig. 2a there is an image that represents a rectangle (the image of the object), and the inside of the rectangle is relative to each other.
  • the background is relatively bright and the background is relatively dark.
  • a non-zero level gradient is calculated for the pixels representing the rectangular contour C.
  • the direction of the non-zero level gradient is the direction perpendicular to contour line C.
  • a line segment L having a predetermined length is generated in two directions perpendicular to the direction of the level gradient.
  • Fig. 2b a line segment L overlapping the contour line C and a line segment L extending on the extension of the contour line C are drawn. .
  • the existence of the rectangle, the position of the contour line C, the direction of the rectangle, etc. are clarified.
  • Image processing based on the line image data stored in the line image storage means for example, detection or detection of an image to be described later. Recognition (existence detection, location detection, direction detection), and display of line segment images are performed.
  • a level gradient of image data is calculated for each processing unit (for example, a pixel) on a given image.
  • a line segment image is obtained which represents a line segment having a direction corresponding to the calculated direction of the level gradient and a given length. Even if the contour is not necessarily clear, a clear line segment can be obtained. Therefore, stable image processing is possible even for images with low contrast and images containing noise.
  • a means is provided for setting up the processing area described above.
  • the setting means may consist of a display device and an input device that provides an input for moving the cursor.
  • the second is to set a pre-defined (or entered) size area at a pre-defined position. It is.
  • the setting means is a means for storing the position and the size, and the processing area is based on the storing means. ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ .
  • Line segments generated by the line segment generation means can also be represented by gray-level (two or more bits) image data. It can also be represented by binary level image data. When a line segment is represented by a gray level, the level can be fixed or variable. In the case of a binary level, the line image data has a value of either 1 or 0. The line image data is the starting point (coordinates) of the line segment.
  • Data representing points (coordinates) and levels (values) can also be represented.
  • the above-mentioned gradient calculating means calculates the magnitude of the level gradient by using the direction of the gradient to calculate the magnitude of the level gradient.
  • the separation means is based on the level (brightness, darkness, or darkness) of the calculated level.
  • the size of the compound distribution is determined by the size of the level calculated by the above gradient calculation. And an image is generated only if the level is above a specified threshold (the level of the image is fixed and is The gradient of the bell, which may be a value corresponding to the gradient, has a positive or negative value as described above, where the absolute value of the level is a predetermined value (positive value). It is necessary to judge whether or not it is greater than or equal to the above.Since the level gradient obtained is not small, there is no line segment image, The specified threshold is determined from the point of view of whether or not to process and exclude as a disturbance. Good In Fig. 1b, the length of the line segment is set short.
  • the line segment image storage means will include the addition means. This method is applicable to both the case where the line image data is represented by the gray level and the case where the line image data is represented by the binary level. it can .
  • the above power Q calculation includes the power calculation by translating the new line segment image data (for example, by multiplying by a coefficient). For pixels that are drawn with overlapping line segments, the level of image data is increased (accumulated) each time the line segment overlaps. Good.
  • the second is to store new line segment image data without performing the power Q calculation process.
  • the image data (excluding 0) representing the line segment image data is stored for the pixels for which the image data is already stored. Is preserved as is (even if new line image data is overwritten, it will not be overwritten).
  • Fig. 3b the distance d is smaller than the radius of the circle and is not 0, and the distance D is larger than the radius of the circle.
  • An example of a line segment L drawn when a value smaller than the diameter is adopted is shown.
  • Fig. 3c shows an example in which the distances d and D are both set to values equal to the radius of the circle.
  • the generated line segment L is a point (one pixel) (the point is also included in the line segment).
  • the length of the line segment and the distances d and D may be determined according to the processing purpose.
  • additional means are provided for setting or entering the length of the line segment, the distance d, D, etc.
  • the operation is easy because the mulcher needs only to set or enter these values.
  • these values may be set in advance according to the processing purpose.
  • the image data representing the image of the object to be inspected is stored in the form of an object having a specific shape. It can be used for the inspection of the existence and location of the defect area that appears as a change in the location and location, and the image data level.
  • the position of a circle or an object is not always precisely specified. However, since the existence and at least the position of at least a given circle or object are known, the exact position can be determined. If it is necessary to specify the shape, other methods such as edge extraction may be used.
  • Yet another application is the inspection of the chamfer radius (radius of curvature) of an object with rounded corners.
  • the minimum value of the chamfer radius tolerance should be d and the maximum value be D. This indicates that only when the chamfer radius is within the tolerance, the line segments are dense or the maximum level is a threshold. Exceed.
  • the thresholds at which the line segments are clustered at the rectangular contours and corners, or where the maximum level is the highest are Exceed. Therefore, the existence, location, and orientation of the intersection of two or more straight lines represented by the straight contours and corners of a square or object. Etc. can be detected. This includes dimensional inspection, area inspection, centroid location inspection, direction (spindle) ⁇ ⁇ c- f ⁇ one ⁇
  • the line that shows the double line is displayed.
  • the image that can be obtained in the evening the image that is to be taken in the evening (it may be superimposed on the target image line segment image, or it can be the image that is created in the evening). Extract the image to the target image shown in the picture image overnight, or alternatively, extract the image of the edge to the table predicate.
  • the invention further controls the image processing so that the image processing described above is performed in an actual manner, and the image processing described above is performed in the evening.
  • the medium on which the ram is recorded. Defined from the viewpoint of image processing by the invention.
  • the expression is as follows.
  • the image processing apparatus is located in the image data.
  • the direction of the edge is typically orthogonal to the edge direction or the same direction as the edge direction.
  • This invention further provides a test device suitable for performing the various types of tests described above.
  • This inspection apparatus performs processing on the image input means for inputting image data representing the object to be inspected, and on the input image data described above.
  • a line representing at least the direction of the unit level gradient and representing a line segment having a direction corresponding to the direction of the calculated level gradient.
  • the direction corresponding to the above-mentioned direction of the level gradient is, typically, a direction perpendicular to the direction of the level gradient or the direction of the level gradient. It is the direction. It is preferable to generate a line segment only when the magnitude of the level gradient is larger than the specified value.
  • the places where the line segment images are dense are as described above.
  • the points where the line segment images overlap are the pixels at the intersections of the line segments, the pixels whose accumulated value of the line segment image exceeds the specified threshold, and the accumulated value. For example, the pixel with the largest value or the pixel with the largest cumulative value exceeding the specified threshold value.
  • the inspection device requires no operation such as setting of the reference pattern (model image) is unnecessary for the operation overnight.
  • the work is simple and the configuration and processing are simple. There are almost no restrictions on the shape, size, etc. of the inspection target. It is not susceptible to disturbances such as light fluctuations and noise, and can be applied to unclear images with low contrast.
  • a display device for displaying a line image is provided based on the above line image data.
  • the generation process of the line segment image is visually clarified.
  • the image of the object represented by the input image data is displayed so as to overlap the line image. Yes.
  • the locations of the detected, densely populated, or overlapping locations of the line segments may be referred to as input image data in the evening.
  • a display device for displaying on the image of the object displayed as an image or an edge image extracted from the input image data described above is provided. It is.
  • the inspection device of this invention can be used to inspect the presence or absence and location of a defect area in an object, and to have a circular or arcuate shape in the object. Inspection of position and absence, detection of the center position of a circle or arc, measurement of radius, inspection of roundness, presence and absence of sides and angles of the object It can be used for inspection, inspection of dimensions, area, center of gravity, direction, etc. Still other features of this invention will be more apparent in the description of the embodiment with reference to the drawings. Brief explanation of drawings
  • Fig. La shows an example of the target image
  • Fig. Lb to Fig. Id show examples of the line segment image generated for this target image. .
  • Figure 2a shows another example of a target image
  • Figure 2b shows an example of a line segment image generated for the target image.
  • Fig. 3a illustrates the bowing of line segments
  • Fig. 3b through Fig. 3d show examples of generated line segment images. .
  • FIG. 4 shows the configuration for generating an X-ray transmission image to be supplied to the image processing apparatus.
  • FIG. 5 is a block diagram showing an electric configuration of an image processing apparatus according to an embodiment of the present invention.
  • FIG. 6 shows an example of the input image.
  • Figure 7 shows an example of a local area for calculating the level gradient.
  • Figures 8a to 8h show the relationship between the target pixel, the image data around it, and the direction of the level gradient.
  • FIG. 9 shows an example of the direction of the level gradient in the inspection area.
  • Figure 10 shows a line segment image generated within the inspection area.
  • Figures 11a to 11d show examples of how to bow a line segment.
  • FIG. 12a and FIG. 12b are flow charts showing processing procedures in the image processing apparatus.
  • Figures 13a and 13b show examples of the display of inspection results.
  • Figure 14 shows a gray-level image of an object with a cross-shaped contour. Here is an example.
  • Fig. 15 shows an example of the direction of the level gradient on the contour line of the image for the object of Fig. 14.
  • FIG. 16 is a flowchart showing another example of the processing procedure in the image processing apparatus.
  • Figure 17 shows the location of the intersection of the line segment images.
  • FIG. 18 is a block diagram showing another example of the electrical configuration of the image processing apparatus. Best form to carry out the invention
  • This embodiment is a BGA (ball grid array), that is, an LSI (Large Scale Integration) cage in which solder ball terminals are arranged in an array on the lower surface. It processes an X-ray transmission image of a base board on which is mounted (mounted).
  • a solder ball (including a solder bump) that has been melted is referred to as a solder ball.
  • This image processing device has a void inside the solder ball. It checks whether or not it is present.
  • Figure 4 shows the configuration for generating the image data to be supplied to the image processing device.
  • the substrate 18 to be inspected is supported between the X-ray irradiator 16 and the X-ray converter 17 by a support mechanism (not shown).
  • a camera 20 is arranged at a lower position of the X-ray converter 17.
  • the X-ray irradiator 16 irradiates the substrate 18 with X-rays from a minute X-ray source.
  • the X-rays transmitted through the substrate 18 are converted into visible light rays by an X-ray conversion unit 17.
  • the camera 20 takes an image of the converted visible light beam and displays an X-ray transmission image showing the internal state of each solder ball. Generates an overnight image and supplies it to the image processing device.
  • Fig. 5 shows the electrical configuration of the image processing device.
  • the image processing device consists of an image input unit 2, an image memory 3, an image output unit 4, a line image memory 5, a character memory 6, and a control unit 1 1 , A timing control unit 12, a monitor display device 13, and a 1 / ⁇ port 14.
  • the image input unit 2 is an A / D converter for converting analog image signals from the camera 20 into digital image data. It is equipped with The digital gray level image data generated in the image input section 2 is stored in the image memory 3, and the next image is stored in the image memory 3. Saved up to the time of data input.
  • the line segment image memory 5 stores line segment image data representing a line segment image described later.
  • the line image data of the memory 5 is used for the detection processing of the void, the display of the line image on the monitor 13 and the like. It is.
  • this memory 5 is 16 bits per pixel or 16 bits. It is something that can store 32 bits.
  • the character memory 6 shows the text data to be displayed on the monitor display device 13 such as the inspection result, and the display position of the text data. Data etc. are stored.
  • These memories 56 and the image memories 3 are respectively connected to the control unit 11 via address / data tables. In response to a command from the control unit 11 and a timing signal from the timing control unit 12, the storage data is output to an image. Output to Part 4.
  • the image output section 4 includes an image synthesis circuit for synthesizing the output data from the memories 3 and 56, and a D / A conversion circuit. These circuits generate image signals for displaying the inspection results and output them to the monitor display device 13.
  • the control unit 11 is mainly composed of a CPU 7R0M8 and a RAM9.
  • the control unit 11 is further provided with a control program for executing the series of procedures to the CPU 7 for further inspection.
  • Disk 10 is provided.
  • CPU 7 is installed in the disk 10 Based on the control program provided, access to the above-mentioned memories 3, 5 and 6 via an address / data node. Then, the quality of each solder ball on the substrate to be inspected is determined, and the results are output to the monitor display device 13.
  • the I / O port 14 connects input units such as keyboard and mouse, and output units such as external storage and transmission units. It is a purpose. From the input unit, the inspection conditions and the setting data of the inspection area, which will be described later, are input. The filed final inspection result is output to the output unit.
  • FIG. 6 shows an example of an image represented by the gray level image data stored in the image memory 3. is there .
  • the images of multiple solder poles 21 are more clearly visible than the background (image of the substrate).
  • Some images of the solder ball 21 include the image of the void 22 inside the solder ball.
  • the image of pod 22 is slightly darker than the image of solder ball 21.
  • the inspection area of the enclose large can of the it in the can do's ball Lumpur your capital r k (k 1 to 6).
  • the direction and magnitude of the level gradient of the gray-level image are calculated for each pixel .
  • the CPU 7 further has a direction along the direction of the calculated level gradient, and generates a line segment having a predetermined length (as described later, Level If the magnitude of the gradient is greater than the specified value, only a line segment will be generated).
  • the image of the line segment is also a gray-level image, and the level corresponds to the magnitude of the calculated level gradient.
  • the line image data generated in this way is stored in the line image memory 5 (as described later, the level is the pixel level). And are accumulated in).
  • the line segment image may be a line image having a level de pixel per pixel, or the start point, the end point and the level of the line segment. It can also be configured to represent the evening.
  • the CPU 7 executes the line segmentation. If the density of the image is high, or the pixel with the maximum level is detected, the maximum level is compared with a predetermined threshold level. Finally, it is determined whether or not the image of the void 22 exists in the inspection area.
  • the fractional processing is performed to calculate the level gradient in each of the X and Y axes, and the final value is calculated by using the calculated values. Specifically, it seeks the level gradient in each pixel.
  • E c (x, y) -arctan (dx (x, y) / dy (x, y)) Equation (4) dx (x, y)> 0 If dy (x, y) ⁇ 0
  • E c (x, y) 180-arctan (dx (x, y) / dy (x, y)) Equation (5) If dx (x, y) ⁇ 0 dy (x, y) x 0
  • FIG. 9 extracts only the contour of the image in the inspection area r from the input images shown in Fig. 6.
  • the outline of the solder ball image and the outline of the void image are shown.
  • the vectors F and F that represent the level gradients calculated for the representative points e and e on this contour line are also shown. . a- o
  • the distance D from the pixel position to the end point of the line segment and the distance D from the pixel position to the start point of the line segment are determined.
  • the distance d to the point is set as an inspection condition, a void having a size larger than the specified value is detected as an object to be detected. I am trying to get out.
  • FIGS. 12a and 12b show the control procedure for one image input from the camera 20 in the image processing device. Indicates.
  • the distance D from the pixel position to be the inspection condition to the end point of the line segment, and the distance d from the pixel position to the start point of the line segment are as follows. It is assumed that the information has been input and stored in the RAM 9 prior to the execution of the step.
  • step ST 1 when the image signal from camera 20 is digitally converted and stored in image memory 3, CPU 7 is activated.
  • the input image is displayed on the monitor 13 via the image output unit 4.
  • the operator uses a mouse or the like to set the inspection area so as to include any one of the solder balls on the display image. specify .
  • CPU 7 is based on this designated position, Recognize the setting position of the inspection area (relative to the solder ball) and the size of the area.
  • the position of each solder ball on the board (for example, the position based on the coordinate origin of the board) is determined in advance or at this time. It is assumed that the information has already been entered.
  • the CPU 7 uses the positional relationship between the solder ball and the inspection area even for a solder ball other than the one for which the designation of the inspection area has been received.
  • Step ST1 (see Fig. 6).
  • the location of the inspection area is represented by the coordinates (X kt, yki) and (k 2, yk 2) of the top left and bottom right corners of the area.
  • step ST2 clears the level data of each pixel in the line segment image memory 5 to 0, and then performs an inspection.
  • the processing of steps ST3 to ST19 is repeated and executed for each area.
  • the initial position location of paying attention picture element g is position (X k, y k 1) of the left on the top point of the inspection area to Ru is constant because, et al.
  • step ST4 based on the equations (1) and (2), the level gradient dx (, y) in the direction of the X-axis and the Y-axis in the eye pixel g is determined. , Dy (x, y) are calculated. If dx and dy are both 0, skip steps ST6 to ST10. If any of d X and dy is not 0, then the level conforming to any of equations (4) to (9) is satisfied according to dx or dy. gradient of the person toward the shows to the corner of E c (X, y) your good beauty Les bell gradient of large can of (X, y) is Ru are de San (scan tape (ST6) o
  • Step ST7 it is checked whether or not the magnitude of the calculated level gradient E i (X, y) is larger than a predetermined threshold value E i LB.
  • the processing of steps ST8 to ST 10 for generating a line segment is performed. Is not performed. For objects that are not to be detected, such as uneven brightness in the input image, no line segments are generated, and this is a wasteful process. In this way, the process is omitted, erroneous inspection results are prevented from being obtained, and the processing speed is increased as a whole.
  • the CPU 7 sets the direction of E c (x, y) in the counterclockwise direction to the direction of the line segment.
  • the distances d and D from the eye pixel g are defined as the starting point of the line segment corresponding to the eye pixel g. It is set as the end point, and the coordinates (X, y.) And (( ⁇ , y ⁇ ) corresponding to these points in the line segment image memory 5 are set. Recognize or calculate (Step S ⁇ 8).
  • the CPU 7 moves to the line segment memory 5 in the line segment defined by the above-mentioned start point and end point.
  • the coordinates of all the pixels are calculated or recognized, and for each of the recognized pixels, each pixel is presently held (for each pixel).
  • the level value corresponding to the magnitude Ei (X, y) of the level gradient calculated in step ST6 is added to the level value. Add and memorize the file value (Step ST10).
  • Steps ST11 to ST14 indicate the processing for sequentially changing the position of the image in the inspection area.
  • Ki have value E i L B for each picture element Ru exceed, those of Les Bell gradient of its Along the direction, a line segment having a level corresponding to the magnitude of the level gradient is set, and a line segment image is generated.
  • the level value of a pixel recognized as existing on a line segment in the line segment image memory 5 includes the level of the newly set line segment.
  • the pixel corresponding to the overlapping line segment has a higher level value than the other pixels because the value corresponding to the pixel is calculated.
  • Become As the magnitude of the level gradient Ei (X, y) is larger, a line segment having a higher level value is set.
  • the level gradient is large in the solder ball and the contour of the void on the image, it is generally located along the contour of the void. Therefore, the generated line segment will overlap many times inside the void, and the pixel level value will be extremely high inside the void. Become .
  • the maximum value D of detection has been Les Bell ma is, the scan tape Uz-flops ST 16 Ru is Jo Tokoro of the standard values D LB and compared with.
  • D max force exceeds SD LB , an image of the void exists in the inspection area. And is determine the constant, and et maximum value D m a x of Les bell is Ru is position is recognized in the image containing Ru is obtained et al. (Scan STEP ST 17, ST 19).
  • the Oh Ru If or D m a is under DB or less, to the inspection area within the images of V o soil Ru are capital decisions also have the name (scan STEP ST 18
  • step ST20 when the processing for all the inspection areas is completed, “YES” is returned in step ST20, and the process proceeds to step ST21.
  • You The CPU 7 sequentially reads out the level value of each pixel in the line image memory 5 and obtains each level value P (X, y) according to the equation (10). Is normalized to be a value that can be displayed in an 8-bit configuration.
  • the CPU 7 converts the normalized line segment image data into the original input image.
  • De Text that shows the results of the judgment and the results of the judgment and output to the image output unit 4 together with the sunset and the like, and is subjected to synthesis processing, and the monitor display device is displayed. 13 (Step ST22).
  • the contour may be extracted and the contour may be displayed.
  • the line segment image data is regularly set at the maximum brightness level D max for each inspection area.
  • the maximum luminosity after normalization is the same in this region.
  • the maximum brightness level in all the inspection areas is detected, and the maximum brightness level is used for all the inspection areas.
  • each line segment image is given a level value corresponding to the magnitude of the level gradient.
  • all line segments may be represented by the same level. However, it corresponds to a line segment corresponding to the level gradient due to noise such as uneven brightness, and a level gradient in the contour. If a line segment is generated under the same conditions, a false detection may occur. Therefore, as shown in step ST7, the level gradient is large. If the magnitude is below the specified threshold, it should be excluded from the line generation process.
  • Figures 13a and 13b show examples of the display of the judgment results generated by the control procedure described above.
  • the shown to example to the 1 3 a view whether et les bell value is Ki have values D L B in the linear fraction images only the images 3 0 exceed Ru part content is output extracted It is level-converted to have high brightness and is superimposed on the original input image and displayed.
  • character information 31 indicating the number of solder balls determined to be bad due to the presence of the voids is displayed. It is shown .
  • the positions of the extracted voids are reported, so that the original input image contains step ST19.
  • a mark 32 indicating the position of the pixel at which the maximum level value Dma is obtained in the processing is superimposed on the input image and displayed.
  • the display example of the inspection result is not limited to the above, and the line segment image itself may be displayed, and FIGS. 13A and 13B may be used. Images such as those shown in the figure, edge images, images with pixels satisfying E i (X, y)> E, and line segment images are appropriately switched and displayed. May be provided to confirm the inspection process.
  • the inspection area is set for each solder ball.
  • the present invention is not limited to this, and every solder ball on the image is not limited to this.
  • each line segment is drawn. Is set toward the inside of the object, but has a higher brightness level than the surroundings, such as a solder ball. If an object is to be detected, the line segment must be set outward.
  • the presence or absence of the internal void is inspected based on the X-ray transmission image of the solder ball, but the base plate is normally inspected.
  • inspection targets are not limited to circular ones.
  • a line segment is set in the same manner as in the above embodiment. Then, the generated line segments will overlap near the center of the arc.
  • the above-mentioned processing is performed with the minimum tolerance of the chamfer radius being d and the maximum value being D. Otherwise, if the chamfer radius is within the tolerance, the density of the line segments will be increased, so the inspection of the chamfer radius can be easily performed. it can .
  • a target object having a rectangular contour or a target object having a corner it is possible.
  • Figure 2b it is shown in Figure 2b.
  • the intersection of the line segments is extracted as the corner position. It will be. Therefore, if the object whose shape can be specified in the direction is the object to be processed, only the position of the object is determined by the result of this processing. In this case, it is possible to confirm whether the object is located in any direction or not.
  • Fig. 14 shows the cross-shaped contour of the object. This is an example of a gray-level image of an object that has an image, and the image of the object has a higher brightness level than the image of the background. It appears.
  • Fig. 15 shows the direction of the level gradient calculated from the contour of the object shown in Fig. 14, and the direction of the level gradient is the same. Go straight to each side.
  • Fig. 16 shows a hand that inputs the gray level image of Fig. 14 to the image processing device of Fig. 5 and measures the position and inclination of the object. The order is shown.
  • the image processing device is supplied with an image data obtained by imaging the object under normal lighting.
  • step ST30 when image data from the camera is input, the CPU 7 performs the same operation on the image as in the procedure of FIG. 12a.
  • the coordinates (X i, y) and (X y) of the top-left positions at the upper left and lower right of the specified area are acquired. It is recognized as the setting position of the inspection area (Step ST31).
  • the CPU 7 tallies the area of each pixel of the line segment memory 5. After that, each pixel in the inspection area is successively focused on, and the processing of steps ST34 to ST43 is executed for each pixel.
  • the CPU 7 calculates the density of the target pixel g (X, y) in the X and Y directions in the same manner as in the procedure of FIGS. 12a and 12b.
  • the gradient dx (X, y) and dy (x, y) are calculated.
  • For each pixel calculate the direction of the level gradient E c (X, y) and the magnitude of the level gradient E i (X, y) for each pixel. (Steps ST34 to ST36).
  • step ST 38 in detection has been Les bell and gradient towards direction E c (X, y) pairs, the first line by counterclock- times Ri in along Tsu to be way toward such a 90-degree angles minute to set, is in the scan STEP ST39 La, the direction of the first line segments and opposition of this, near the top Symbol Les bell gradient Chi I a to direction E c (X, y ), Set a second line along the direction that makes an angle of 270 degrees counterclockwise.
  • the CPU 7 executes the processing for each of the pixels in the line segment image memory 5. Les bell value of the original and switch We click, you leave extract the door Ru picture based on the Les bell value on the Ki have value D th than that of the Jo Tokoro to have you in the inspection area within the (scan Step ST44).
  • a line segment is set along two directions perpendicular to the direction of the level gradient. Then, as shown in Fig. 17, the line segment image where the line segments overlap along the length direction of each side constituting the contour of the target object Is generated.
  • the CPU 7 sets the coordinates of each detection position. To calculate the coordinates of the representative points that indicate the position of the object such as the center of gravity, and calculate the coordinates of the object from the position relation of the detection position. Identify the axis (there are two axes) and calculate whether that axis is oriented in either direction.
  • the above calculation result is output to the monitor display device 13 or the like, and the position of the image is not shifted or the rotation is not recognized from the calculation result. Therefore, processing suitable for the purpose, such as performing detailed recognition processing of the object, is performed.
  • the processing shown in FIGS. 12a, 12b, and 16 can be achieved by directly converting the images generated by the camera into the image processing device.
  • the processing is performed by importing, but not limited to, the digital image data generated at a remote location can be processed by I / O. It is also possible to process it by inputting it via port 0-14.
  • Some processes are performed in the order of, no, and one door image. If you use other tools instead of a relay, the load on the CPU 7 can be reduced and the processing speed can be further increased. .
  • Fig. 18 shows an example of the configuration of the image processing equipment.
  • the configuration shown in Fig. 5 has a carobel gradient measuring unit 25 and an overlapping extraction unit. 26 takes an additional configuration.
  • the level gradient measuring unit 25 receives the pixel data on the input image stored in the memory 3 in the X and Y directions and obtains the level gradient d (
  • the fractional processing circuit that calculates X, dy (X, y) and the magnitude of the gradient E i (E i () from this level gradient d X (, y), dy (X, y) x,) ⁇ Operation for calculating the angle Ec (x, y) of the level gradient is provided.
  • the overlap extraction part 26 is also a line segment. Image memo By taking each pixel in order, the maximum pixel of the brightness level is extracted, and the maximum value is set to the threshold value DBL threshold D Provision of circuit configuration for comparison with th

Description

画 像 処 理 装 置 お よ び 方 法 , 画 像 処 理 の た め の プ ロ グ ラ ム を 記 憶 し た 媒 体 , な ら び に 検 査 装 置
技 術 分 野
こ の 発 明 は グ レ イ · レ ベ糸ル 画 像 の 画 像 処 理 装 置 お よ 田
び 方 法 , 画 像 処 理 の た め の プ ロ グ ラ ム を 記 憶 し た 媒 体 , な ら び に 対 象 物 の 有 無 , 位 置 , 形 状 , 方 向 等 の 検 査 装 置 に 関 す る 。
背 景 技 術
グ レ イ · レ ベ ル 画 像 上 で 所 与 の 輪 郭 形 状 を 有 す る 対 象 物 を 認 識 処 理 す る 場 合 , 従 来 , 認 識 対 象 の グ レ イ · レ ベ ル 画 像 を 所 定 の し き い 値 で 2 値 化 す る 方 法 が あ る 。 こ の 2 値 化 デ ー タ に 基 づ く 認 識 処 理 は , 照 明 変 動 や シ エ ー デ ィ ン グ な ど の 影 響 を 受 け や す い 。 特 に 基 板 上 の は ん だ 付 け 部 位 の ボ イ ド 検 査 の よ う に X 線 透 過 画 像 を 処 理 す る 場 合 に は , 画 像 上 に 多 数 の ノ イ ズ が の っ て 対 象 物 と 背 景 部 分 と の コ ン ト ラ ス ト が 悪 く な り , 認 識 不 可 能 な 状 態 に 陥 る こ と も あ る 。
グ レ イ . レ ベ ル 画 像 に 対 し 対 象 物 の モ デ ル 画 像 を 用 い て 正 規 化 相 関 演 算 処 理 を 実 施 し , 対 象 物 の 位 置 を 認 識 す る 方 法 が あ る 。 正 規 化 相 関 演 算 を 用 い た 認 識 処 理 は , あ ら か じ め 対 象 物 の モ デ ル 画 像 を 設 定 す る 必 要 が あ る た め , 対 象 物 の 大 き さ が 種 々 変 動 す る よ う な 場 合 に は 不 向 き で あ る 。 ま た 画 像 上 の 各 走 査 位 置 に お い て , 正 規 化 相 関 演 算 を 実 施 す る 必 要 が あ る た め , ハ ー ド ウ ェ ア 構 成 や 処 理 時 間 の 増 大 を 招 く 。 特 に 対 象 物 の 向 き を 計 測 す る に は , モ デ ル 画 像 を 所 定 角 度 ず つ 回 転 さ せ て , 各 回 転 角 度 位 置 毎 に 正 規 化 相 関 演 算 を 実 施 す る 必 要 が あ り , 装 置 構 成 や 処 理 が ま す ま す 複 雑 化 す る と い う 問 題 が あ る 。
基 板 上 の チ ッ プ 部 品 の よ う に , 角 を 有 す る 輪 郭 形 状 の 対 象 物 の 位 置 や 向 き を 計 測 す る た め に , 画 像 上 の ェ ッ ジ を 追 跡 し て 対 象 物 の 輪 郭 線 に 相 当 す る 直 線 を 特 定 し , そ の 後 , 各 直 線 の 方 程 式 を 求 め , さ ら に こ れ ら 方 程 式 に よ り 求 め ら れ る 複 数 の 直 線 の 交 点 位 置 を , 部 品 の 位 置 と し て 認 識 す る 方 法 を 用 い る こ と も あ る 。 し か し , こ の 方 法 も エ ッ ジ 追 跡 , 方 程 式 の 演 算 等 , 処 理 が 複 雑 に な る 。
境 界 線 の 形 状 が 点 対 称 と な る 対 象 物 や , 少 な く と も 2 組 の 向 か い 合 う 辺 が 平 行 と な る 多 角 形 の よ う な 対 象 物 に つ い て , 画 像 上 に 現 れ る 各 エ ッ ジ の エ ッ ジ 方 向 を 用 い て 対 象 物 の 位 置 や 形 状 を 計 測 す る 方 法 が 提 案 さ れ て レ、 る ( 特 開 平 9 — 2 2 9 6 4 6号 公 報 ) 。
こ の 方 法 に よ れ ば , 照 明 変 動 の 影 響 を 受 け た り , 装 置 構 成 を 複 雑 化 さ せ る こ と な く , 対 象 物 の 代 表 点 を 精 度 良 く 抽 出 す る こ と が で き る 。 し か し な 力 ら こ の 方 法 で は , 点 対 称 ま た は 少 な く と も 2 組 の 向 か い 合 う 辺 が 平 行 と な る 多 角 形 に 認 識 対 象 が 限 定 さ れ る の で , 輪 郭 形 状 が 非 対 称 と な る 対 象 物 を 認 識 す る の は 不 可 能 で あ る 。 ま た 最 終 的 に 求 め ら れ る 代 表 点 は 対 象 物 の 輪 郭 内 部 の 点 で あ る の で , 多 角 形 の 対 象 物 の 角 の 抽 出 や , 対 象 物 の 向 き を 計 測 す る た め の 処 理 へ の 適 用 は 困 難 で あ る 。 発 明 の 開 示
こ の 発 明 は , コ ン ト ラ ス ト の 低 い 画 像 , ノ イ ズ を 含 む 画 像 で あ っ て も 安 定 し た 画 像 処 理 を 行 な え る よ う に す る こ と を 目 的 と す る 。
こ の 発 明 は ま た , モ デ ル 画 像 の 設 定 が 不 要 と な り , オ ペ レ ー タ に よ る 操 作 を 簡 便 に す る こ と を 目 的 と す る こ の 発 明 は さ ら に , 構 成 お よ び 処 理 を 簡 素 に す る こ と を 目 的 と す る 。
こ の 発 明 は さ ら に 対 象 物 の 制 限 を で き る だ け 少 な く す る こ と を 目 的 と す る 。
こ の 発 明 に よ る 画 像 処 理 装 置 は , 複 数 の 画 素 を 含 み , 各 画 素 が レ ベ ル . デ 一 夕 を 持 つ , 所 与 の 画 像 デ ー タ に お い て , 処 理 単 位 の レ ベ ル 勾 配 の 少 な く と も 方 向 を 算 出 す る 勾 配 算 出 手 段 , 上 記 勾 配 算 出 手 段 に よ っ て 算 . - ^ J- '
垂 Γ) s Κ¥ ¾ ,J ^ ω ES ¾ ¾ ¾ i ¾J ¾ ¾ » 垂 25 ¾J 09 2S
^ ( © ° § ¾ ( ¾i ^ ω ) ¾J § m o- ( ίに ¾ ' ( ¾J ω 3i ) ¾J ^ ¾ 4-
^ ϋ fT
( 画 ¾一 © ° ¾ 教 m ¾❖ 斜 D ¾ 目 ø B ¾凝 画 ' 25 ¾J ¾ w i ¾J ^ ω HI ^
° $ ' ^ ¾画: 2 ( ¾ 腾 ¥ ¾ ω ¥ ¥1 ¾ ^ HI
^ ^ ¥ ω 21 ) 31 ¥ 書 ;? ¾J ω HS
Π ] α 、 ° ^ 9 ¾ ^ ^ ¾ ¾ q ^ ω g ¾ ω ¾ ?} 21 ( Ί ¥1 5 ^ f ί ω r 。 i 一 ^ 拏 ¾ ( #
' ' Φ ' ¥ ス : ' ¾1 ί 一 ¾ ¾ « 一 ^ ^ 画 ° 9: ^ - ^ ^ § 1Ϊ 拏 、 ¾ ¾ §1 ^ O M o ~m ψ: ( 21 ί¾ 0 ¾ 09 $ ¾ i¾ ?) 31 ¾ ( ' sQ- : つ ° · q: 拏 ¾ ¾ 鷇 Ώ ¥ ' ( ^ ) ^ ¾ &¾ ' .?) n ¾ a. ^ 一 ^ ¾ S s W • 0 挲 画
。 ' ^ □
挲 画 © ¾ ^ 峯 画 :^ ::) ¾ 本 ¾ 亩 ¾
° § ¾ - ― ^ · Λ( ^ · S 0 $ 2- T Yd ^ Ά Z c ?! ス — · G9 案 画 ¾
° ¾ m ^ ¾ i ¥ · ' Κ 一 ^ 専 画 ^
½ m si τ Λ ^ ' ¾ ^ ¾ ^
^ ¾ 0: 拏 ¾ ^ m c ^ ^ ^
Γ5 ¾J ^ © 2S ¾ $
St8lO/664fAL:)d Z.OZS/66 OW q- ^ o ^ ^ ^ ^ CD A -2 ^ ^ m n ' D ^ -- ^ i n o i ' ^ っ ^ ¾ ¾ ^ 鹳 ω ^ S ¾ ^ ¾ j ( ϊαϊ ^ ω u ) ¾J ^ 9r 、f/ ¾ ^
挲 画 a! $ 鴛 ^ 2 ¾ ¾ i ' Γ| ¾ί ° § ^
# φ ω ϋ ί! ΐ > Ϊ ^ ^ ^ ¾ Ί ^ ¾Ι ° 9r ¾ 二) S ^
5 ω ω ¥! ^ ^ Μ ? ω ο ¾ m I ' ° ο $ 画 班 ^ Ί 鹪 ω ^ ¾ϋ 二) ^ ψ ω y ¾ 3 ま j¾驊 c
^ s ω ¾ 25 ( ¾J ^ ω HI ) ¾J ^ § a? ¾ s?
^ ¾ 挲 画 w $ ¾ 2显 ¾ ^ 、 ¾ _ * ° (
' ^ ¾ ω r ?! 2} ¾ ig ) ¾ ¾ ¾ ^ ^ 顰 # ω 一 ^ 画 ^ ^ 、 <¾ a s 奪 画 ( ° ¾ ^ ci Ml <^ i VI α ) ^ ω W ¾ -ί- ¾ ¾ c ?} r ω Γ ° § 、 つ ^ 窨 ^ ¾ ¾ 垂 ) ¾J ^ ¾ 05
0 n n ^ ^ Q) ω -2 ' 军 。 w $ » s ?
¾ η q> ^ D ® ^ ¾ ω W # ( S翳 ' $ ¾ ' ^ ¾ Ba ) ^ 4 0: 拏 ω 一 画 ' ¾ 0 髒 ∑tt 驊 ^ ¾ — ' s ¾ w ^ s 2· 鹩 ¾ C) 翳 ^ 驊
' T ^ ¾ ω n ) ° 1 $ 鴛 ^ ¾ 、 ¾ 0· *
- 5i W ω : ( 挲 画 ) B ί ω 翳 ¾ « © y ° §
:? 、 翻 二) ¾ ¾ ^ 喜 # ' > ¾ ¾ 2) ¾ ½ ¾ # 3¾ © y ' <$ %c ( ^ 画 ω呦 専 ) ^ 画 拏 ( ¾ I ¾ 2) 1 ^ ^ ) ω ' } c ^ - ^ ) i2] ¾ T ¾ ' ^ —
° τ ' ^ ' η ^ ^810/66<ΙΓ/13<Ι Ζ厶 OZS/66 OAV 描 画 さ れ る 。 輪 郭 線 C の 位 置 ま た は 円 の 存 在 が 明 瞭 に な る 。
も う 一 つ の 例 を 示 す と , 第 2 a 図 に 示 す よ う に , 方 形 を 表 わ す 画 像 ( 対 象 物 の 画 像 ) が あ り , 方 形 の 内 部 が 相 対 的 に 明 る く , 背 景 が 相 対 的 に 暗 い と す る 。 方 形 の 輪 郭 線 C を 表 わ す 画 素 に お い て 零 で な い レ ベ ル 勾 配 が 算 出 さ れ る 。 零 で な い レ ベ ル 勾 配 の 方 向 は 輪 郭 線 C に 垂 直 な 方 向 で あ る 。 零 で な い レ ベ ル 勾 配 が 算 出 さ れ た 画 素 か ら レ ベ ル 勾 配 の 方 向 に 垂 直 な 2 つ の 方 向 に 所 定 の 長 さ の 線 分 L を 生 成 し た と す る と , 第 2 b 図 に 示 す よ う に , 輪 郭 線 C と 重 な る 線 分 L や 輪 郭 線 C の 延 長 上 に 延 び る 線 分 L が 描 画 さ れ る 。 方 形 の 存 在 , そ の 輪 郭 線 C の 位 置 , 方 形 の 方 向 等 が 明 瞭 に な る 。
線 分 画 像 記 憶 手 段 に 記 憶 さ れ た 線 分 画 像 デ ー タ に 基 づ い て 画 像 処 理 , た と え ば , 後 述 す る 対 象 画 像 の 検 出 ま た は 認 識 ( 存 在 の 検 出 , 位 置 の 検 出 , 方 向 の 検 出 ) , 線 分 画 像 の 表 示 が 行 な わ れ る 。
こ の 発 明 に よ る と , 所 与 の 画 像 上 に お い て 処 理 単 位 ( た と え ば 画 素 ) ご と に 画 像 デ ー タ の レ ベ ル 勾 配 が 算 出 さ れ , 算 出 さ れ た レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 と 所 与 の 長 さ と を 持 つ 線 分 を 表 わ す 線 分 画 像 が 得 ら れ る 。 輪 郭 が 必 ず し も 明 瞭 で な い 画 像 で あ っ て も 明 瞭 な 線 分 が 得 ら れ る 。 し た が っ て , コ ン ト ラ ス ト の 低 い 画 像 , ノ イ ズ を 含 む 画 像 で あ っ て も , 安 定 な 画 像 処 理 が Γ5 Γι i ' 一 ^ 凝 画 W ¾ ¾ :) ^ : ¾ 凝 鬍
。 W ¾ A ¾ :) ¾ - ¾ ΐ ¾ 一 ^ 画 ! ^ ^ 鴛 ^ ^ ^ 丁 っ W ¾ ¾ 一 画
0) ¾ 酉 ί ¾ W $ ¾ 、 ) 一 画 Υ ' ) 翟 ¾ S ¾ 専 画 ' ) ェ ^ 3Ϊ ¾— © ¾ ¾ ::
,、 » ?) ¾ ¾ - ?! ¾ ^ ω 2 °、 ' 一 ^ ^ 画 ω
Μ 弒 ω 一 — ^ 幕 画 © ^ 厘 画 一 ' つ 、 T ' — ^ 画 ω ® 画 一 S ェ W $ ¾ 2 ::) i ( つ 一 ^ ^ 画 〇 ^ ® 画 一 1 $ 凝 害 ί
^ } ( Q ^ ¾ ^ Cji - ( ^ ) ( ^ · Λ Ί ^ ?) ^ ) ' ; ^ : p) 一 ^ 專 画 つ ¾ τ
° ^ ス r ¾ -I- ^ ¾¾ ¾ ¾ 4- W ^ ¾ 21 ^ ' ^ 翻 再 $ 4 ^: ^ ¾ τ 1 ^ · ベ λ ^ ω 凝
¾ ¾ 一 ^ 専 画 ζ· 3 鹩 s ^ © 凝 ¾ § ¾ ¾ 互 ' \ ^ ° 〉 ¾ ¾1 つ ^ Ώ ¾ ΐ ¾ 2 画 斟 2 ¾ 0 — ¾ 一 ^ ^ 画 · '
° ·!· 鴛 ¾ 2显 ¾ ) 3 ¾ 亩 ¾ ¾ 、
一 ^ 画 I $ 2§ ) ¾ ΐ 2 奪 画 M T ¾ * 富 H显
¾ SI T ° 2 W A g§ ^ S ¾ 2 ¾ 画 2 ¾ 2 ¾ 一 ^
^ 画 © ^ ^ 2 Γ ' ^ 2. ^ ^ - 1 m M M - c ^ ω -2
。 產 ¾ 蓰 ω ( 専 画 * ¾ ) ベ 一 * S 挲 S ¾ ¾ S W « ^ : ¾ Jk
L
Sf8lO/66df/lDd Z厶 OiS/66 OW ス ト ア さ れ て い る 画 像 デ 一 夕 , 他 の 装 置 か ら 伝 送 さ れ る 画 像 デ ー タ 等 を 含 む 。
こ の 発 明 の 好 ま し い 一 実 施 態 様 に お い て は , 上 記 の 処 理 領 域 を 設 定 す る 手 段 が さ ら に 設 け ら れ る 。
こ の 設 定 手 段 に は 種 々 の 形 態 が あ る 。 そ の 一 は , 表 示 装 置 上 に 入 力 画 像 デ 一 夕 に よ っ て 表 わ さ れ る 画 像 を 表 示 し , こ の 表 示 画 面 上 に お い て , 処 理 の 対 象 と な る 部 分 ( 対 象 画 像 を 含 む 領 域 ) を カ ー ソ ル 等 を 用 い て 指 定 す る も の で あ る 。 設 定 手 段 は 表 示 装 置 と , カ ー ソ ノレ を 移 動 さ せ る 入 力 を 与 え る 入 力 装 置 と か ら 構 成 さ れ よ う 。
そ の 二 は , あ ら か じ め 定 め ら れ た 位 置 に あ ら か じ め 定 め ら れ た ( ま た は 入 力 さ れ た ) 大 き さ の 領 域 を 設 定 す る も の で あ る 。 こ の 場 合 に は 設 定 手 段 は 位 置 お よ び 大 き さ を 記 憶 す る 手 段 と , こ の 記 憶 手 段 に 基 づ い て 処 理 領 域 を 画 像 デ 一 夕 上 で 定 め る 手 段 と か ら 構 成 さ れ よ Ό 。
線 分 生 成 手 段 に よ っ て 生 成 さ れ る 線 分 は グ レ イ · レ ベ ル ( 2 ビ ッ ト 以 上 ) の 画 像 デ ー タ に よ っ て 表 わ す こ と も で き る し , 2 値 レ ベ ル の 画 像 デ ー タ に よ っ て 表 わ す こ と も で き る 。 線 分 を グ レ イ · レ ベ ル で 表 わ し た 場 合 に そ の レ ベ ル は 固 定 で も , 可 変 で も よ い 。 2 値 レ べ ル の 場 合 に は , 線 分 画 像 デ ー タ は 1 ま た は 0 の い ず れ か の 値 を と る 。 線 分 画 像 デ ー タ は , 線 分 の 始 点 ( 座 標
値生影か線のルで手配生てルはすさきレ }にレ
成響算段勾成分ベぁの好勾濃れいよべとレ,さよる ,
べ値配度ル画大い出さを配す終ル。にるうるつまレら
点 ( 座 標 ) お よ び レ ベ ル ( 値 ) を 表 わ す デ ー タ て も 表 現 す る こ と が で き る 。 し い 実 施 態 様 に お い て は , 上 記 勾 配 算 出 手 段 は 勾 配 の 方 向 に 力口 え て レ ベ ル 勾 配 の 大 き さ を 算 出 こ の 場 合 に , 線 分 生 成 手 段 は , 算 出 さ れ た レ べ の 大 き さ に 応 じ た レ ベ ル ( 明 る さ , 暗 さ , ま た
( 色 の 濃 度 を 含 む ) ) を 持 つ 線 分 画 像 デ ー タ を る も の で あ る こ と が 好 ま し い 。 こ の こ と に よ つ 解象線ルが勾ルか上い }いレ
ベ ル 勾 配 の 大 き さ に 応 じ た レ ベ ル で 線 分 が 描 画 場で配勾分述べ変か。てさら
化合配画ルれののは,きらレ に 好 ま し い 実 施 態 様 に お , 上 記 勾 配 算 出 よ っ て 算 出 さ れ た レ ベ ゾレ 大 き さ と 所 定 し レ ベ ル と を 比 較 し , レ ベ が 所 定 し き い 値 以 上 で あ る 場 合 に の み , 像 を 生 成 す る ( 像 の レ ベ ル は 固 定 で , よ う に レ ベ ル 勾 き さ に 応 じ た 値 で も よ い ベ ル 勾 配 は 上 述 に 正 ま た は 負 の 値 を 持 つ こ こ で は , レ ベ の 絶 対 値 が 所 定 し き い 値 ( 正 の 値 ) 以 上 か ど う か を 判 断 す る と 理 た い 。 さ れ た レ べ ル 勾 配 が 小 さ に は 線 分 画 像 は れ な い か ら , 小 さ い レ ベ や ノ イ ズ に よ る 受 け な い よ う に す る こ と る 。 所 定 し き い ル は , 外 乱 と し て 処 理 対 除 外 す る か ど う う 観 点 か ら 定 め れ ば よ い 第 1 b 図 に お い て は 線 分 の 長 さ が 短 く 設 定 さ れ て い る 。 線 分 の 長 さ を 円 の 半 径 よ り も 大 き く し た 場 合 に は , 第 1 d 図 に 示 す よ う に , 多 数 の 線 分 が 中 心 お よ び そ の 付 近 で 重 な っ て 描 画 さ れ る 。 ( 第 1 d 図 お よ び 第 3 b 図 に お い て は 分 り や す く す る た め に , 線 分 の 数 を 少 な く し て あ る 。 )
多 数 の 線 分 の 画 像 を 記 憶 す る 線 分 画 像 記 憶 手 段 へ の 線 分 画 像 デ ー タ の 記 憶 の や り 方 に は 2 通 り あ る 。
そ の 一 は , 各 画 素 に つ い て , 既 に 記 憶 し て い る 線 分 画 像 デ ー タ ( レ ベ ル ' デ 一 夕 ) ( 0 を 含 む ) に , 新 た な 線 分 画 像 デ ー タ ( レ ベ ル · デ 一 夕 ) を 加 算 し , 加 算 結 果 を 記 憶 す る も の で あ る 。 線 分 画 像 記 憶 手 段 は 加 算 手 段 を 含 む こ と に な る 。 こ の や り 方 は , 線 分 画 像 デ ー 夕 を グ レ イ · レ ベ ル で 表 わ し た 場 合 , 2 値 レ ベ ル で 表 わ し た 場 合 の い ず れ に も 適 用 で き る 。 上 記 の 力 Q 算 と は , 新 た な 線 分 画 像 デ ー タ を 換 算 し て ( た と え ば 係 数 を 乗 じ る な ど ) 力 Π 算 す る こ と を 含 む 。 線 分 が 重 な っ て 描 画 さ れ る 画 素 に つ い て は , 線 分 が 重 な る 毎 に 画 像 デ ー 夕 の レ ベ ル が 増 大 し て ( 累 積 さ れ て ) い く 。
そ の 二 は , 力 Q 算 処 理 を す る こ と な く 新 た な 線 分 画 像 デ ー タ を 記 憶 す る も の で あ る 。 結 果 と し て , 線 分 画 像 デ ー タ を 表 わ す 画 像 デ ー タ ( 0 を 除 く ) が 既 に 記 憶 さ れ て い る 画 素 に つ い て は 記 憶 デ ー タ は そ の ま ま 維 持 さ れ る ( 新 た な 線 分 画 像 デ ー タ を 上 書 き し て も , 書 込 ま m ' ?! Γ} ti ω r ° ¾ - ? $ :? α 鹅 -
¾ ' ¾ ω Ί ^ 翳 ¾ 9 喜 ¾ © ¾ 亩 ¾ ® ( ^ V ω ^.
^ ^ m o i ^ m ^ ^- ^ ( ' ψ © 口 ; ^ 肇 画 ) 喜 ¾ ¾ 亩 ¾ ¾ 1 ) c ^ - ^ ^ m £ ' ! 二 ®
° 、 τ W · γ
' 〉 ^ っ ^ 鹪 ( ?) D ^ m CD 2 ° ¾r ¾ i 9τ 4 ¾^ ¾ ¾ ^ 鹩 c- ¾ $ 誓 '
¾l 2ίί ^ ^ ω 21 ¾ ο $ W 鴛 ' ¾ ^ ( ' Ψ ω α ¥) 军 肇 画 ) ' ^ Τ っ
¾ ¾§ 2. n SB ¾ ^ n p τ ¾ ¾ ^ m q τ ' 一 ω
0 ¾ ¾ » §¾
09
Figure imgf000013_0001
¾f ω ' ^ 喜 ¾ © ;? S ¾ ) ;? ^ ' ¾ ^ 鹩 ω $ 誓
S S ω ' r) ^ α $ 鴛 21 ¾ ¾ - :¾
° っ ¾ ¾ — . 奪 画 ® τ ?} i ^ ^ ¾
W $ 画 钳 っ ¾ ¾ ^ ^ 翳 ' 翳 つ ¥ί ' T ω
If S 一 ^ 画 ^ 翳 ( ^ ^ ° § 萆 ^ 螯 つ q: 拏 ^ 扉 s 2) ¾ ' ^ ¾ -i- ¾ ¾ ^ 2) 0 J- ^ f ί つ q: 拏 ^ ¾ s ' ^ ¾ つ 0: 拏 ^ · ^ ¾ 一 ^ 凝 画 ^ 鹩 £ Q ότ ω -2 ° ¾ ::
^ 2 § w Ϋί暴 ::) 據 ^ 一 ^ 奪 画 ^ 鹩 ¾ ω
::) 挲 画 ω 士 、 挲 画
0 ) 斟 2 ^ 一 ^ 凝 画 ° ( 、1 > ¾
ΪΙ
S^8lO/66Jf/lDd ΖΖ,0Ζ£66 O ベ ル 勾 配 の 方 向 と を 用 い て 始 点 と 終 点 の 位 置 を 算 出 し , 算 出 さ れ た レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 に , 算 出 さ れ た 始 点 か ら 終 点 ま で の 線 分 L を 生 成 す る 。
第 3 b 図 は 距 離 d と し て 円 の 半 径 よ り も 小 さ く 0 で は な い 値 を 採 用 し , 距 離 D と し て 円 の 半 径 よ り も 大 き く か つ 直 径 よ り も 小 さ い 値 を 採 用 し た 場 合 に 描 画 さ れ る 線 分 L の 例 を 示 し て い る 。 第 3 c 図 は , 距 離 d と D を と も に 円 の 半 径 に 等 し い 値 に 設 定 し た 例 を 示 し て レ、 る 。 生 成 さ れ る 線 分 L は 点 ( 1 画 素 ) と な る ( 点 も 線 分 に 含 ま れ る こ と と す る ) 。 第 3 d 図 は d = 0 , D = oo ( 無 限 大 ) と し た 場 合 で , か つ 線 分 を 円 の 外 側 に 描 い た 例 で あ る 。 円 を 内 部 に 含 む 処 理 領 域 W が 設 定 さ れ て お り , 処 理 領 域 W の 境 界 が 距 離 = 無 限 大 の 位 置 で あ る 。 処 理 単 位 の 位 置 か ら 長 さ 無 限 大 の 線 分 を 描 く と 表 現 す る こ と も で き る 。
線 分 の 長 さ , 距 離 d , D 等 は 処 理 目 的 に 応 じ て 定 め れ ば よ い 。
好 ま し い 実 施 態 様 で は , 線 分 の 長 さ , 距 離 d , D 等 を 設 定 ま た は 入 力 す る 手 段 が さ ら に 設 け ら れ る 。 禾り 用 者 は こ れ ら の 値 を 設 定 ま た は 入 力 す る 操 作 で 足 り る の で , 操 作 が 容 易 で あ る 。 も ち ろ ん , こ れ ら の 値 は 処 理 目 的 に 応 じ て あ ら か じ め 設 定 し て お い て も よ い 。
特 定 の 形 状 ま た は 大 き さ ( 許 容 さ れ た 範 囲 内 の 形 状 ま た は 大 き さ ) を 持 つ 対 象 画 像 の 存 在 の 有 無 の 検 出 , ° つ ^ « 5? ^ ¾ ¥ ri ¾ ^ ¾ ¾ ΐ ¾ 「i余 ? ^ ? 、i ^ ¾ ¾ » 、 つ ω ¾ ^ s 1 ¥ ¾ ω ( ¾ ¾ ¾ ) — 凝 画 ^ 翳
° ¾
¾ ェ っ ^ ::) ¾ ΐ II 2 蔡 画 ^ 翳 2 4 2 ¾ ¾ つ 怠 ΠΪ 一 ^ 専 画 ^ ¾ ¾ ω コ ° ¥ 酈 ¾ ¾ 2 _^ FR 挲 画 ¾ ¾ ^ ω · 一 ^ 画 ^ 鹳 W $ ¾ 2 Γ) ¾ ¾ 2 画 ^ m T '
: Ρ! 蠶 S W 専 画 ' Γ) 對 ϋ ¾ ¾ つ ^ & Q)
。 ?: ベ ニ ^ 0: ( m ) m τ\ Q τ ° ^ ® « ¾ ø ^ 鹪 ) 弒 ω ¾· ' ( ^ 翳 s ^ ® ¾ ¾ つ ¾ ^ ) ^ ^ ^
( 肇 画 封 一 ^ ^ 翳 ^ ( 肇 画 ¾ つ 画 班 ¾ H ) S ·!· 5 ¾ ^ 翳 ' Z ^ ί? 15 ( 秦 画 οΐ X
(Π ¥ ) ¾ ø $ ¥ ¾ ^ ¾ ' ¾ ,5 * ¾ -
° ¾ iL ¾ * っ ^ ::) S ¾ 2 画 ^ 鹩 § ^ ¾ Si 、 ^ つ 鴛 Π 一 凝 画 ^ 鹳 W $ : 拏 s ' Γ)
¾ ' s 2 ¾ ¾ ;: ί W ^ © if ¾ 暈 ' ¾ っ 鴛 m ' ? ^ 螯 暈 ¾ っ 窵 Π¥ ¾ ー ^ 専 画 鹳 ) ¾ ¾ ^ 奪 画 ^ 鹡 ' ?) ¾ ΐ W ^ © 2 ° ¾r i ¥ 酈 ¾ ¾ ΐ Τ Γ) 一 ^ 画 ^ 翳 o $ 斟 2g 二) ¾ 翦 2g 専 画 ^ 鹳 21 T ' ) 喜 ¾ S W ^ 画 ' ) ^ 斜 篛 ¾ ¾ つ ¾ ' 二) W ^ ¾ ¾ ¥4 ® 喜 ¾ Φ ω ^ ¾J ¾
CI
Sfr8lO/66Jf/丄 3d 0 /66 OAV ' ω羣 ^ ω Γ ¾ 4- SI ¾ Β ¾ ^ Φ 3 5: ¾ ¥ ¾ ¾ f I
^ っ ^ ¾ ) ) ^ ^ 25 '
Φ ω ¾· ' Γ) ^ ¾ ¾ 4- Ώ : ^ ) ¾ ¾ i a =園 p = J 図 3 ε ¾
i w ^ ¾ ^ ¾ 31驊 ω ift y i »
^驄肇奪¾ B J -
° w ^ ¾ ¾ :) W ^ ^ ) y ¾ ^ ω ¾ ¾ ¾ 軍 i ^ a ^
^¾ Ώf S 6 。
¥ 窨 ¾ ' ψ so- ^ m ' ι 25 ^ ti * ω S ^ ( c 呦 專 ) » ¾ ω 。
( q = a q ¾ * っ ^ a鵜 ®
^ ' ¾ © ¾ 亩 s ' W Π rv ( Β = p ) つ ^ ' c ¾ ^ ( ¾
Figure imgf000016_0001
¾ ) 5 5 ® ΐ W i ω 9 f 2
St-8l0/66cif/X3d ZLQZS OAV 99/01
15 半 径 検 査 , 真 円 度 検 査 に 適 用 す る こ と が で き る 。
し た が っ て , 後 述 す る よ う に , 被 検 査 対 象 に つ い て の 画 像 を 表 わ す 画 像 デ ー タ を , 特 定 の 形 状 を 持 つ 対 象 物 の 存 在 と 位 置 , 画 像 デ ー タ · レ ベ ル の 変 化 と し て 現 れ る 欠 陥 領 域 の 存 在 と 位 置 等 の 検 査 に 用 い る こ と が で ぎ る 。
上 記 の 画 像 処 理 装 置 に よ る と , 円 形 ま た は 対 象 物 の 位 置 は 必 ず し も 充 分 に 正 確 に 特 定 さ れ る と は 限 ら な い 。 し か し な が ら , 所 定 の 円 形 ま た は 対 象 物 の 少 な く と も 存 在 と そ の お お よ そ の 位 置 が 判 明 す る の で , 正 確 な 位 置 , 形 状 を 特 定 す る こ と が 必 要 で あ れ ば , エ ッ ジ 抽 出 法 等 の 他 の 方 法 を 用 い れ ば よ い 。
さ ら に 他 の 応 用 例 と し て は , 角 が 丸 く 面 取 り さ れ た 対 象 物 の 面 取 り 半 径 ( 曲 率 半 径 ) の 検 査 が あ る 。 こ の 場 合 に は , 面 取 り 半 径 の 公 差 の 最 小 値 を d , 最 大 値 を D と す れ ば よ い 。 こ の こ と に よ り , 面 取 り 半 径 が 公 差 内 に あ る 場 合 に の み , 線 分 が 密 集 す る , ま た は 最 大 レ ベ ル が 所 定 し き い 値 を 超 え る 。
第 2 b 図 に 示 す 例 に お い て は , 方 形 の 輪 郭 線 お よ び 角 に お い て 線 分 が 密 集 す る , ま た は 最 大 レ ベ ル が し き い 値 を 超 え る 。 し た が っ て , 方 形 ま た は 対 象 物 の 直 線 状 の 輪 郭 , 角 で 代 表 さ れ る 2 つ 以 上 の 直 線 の 交 点 の 存 在 と 位 置 , 配 置 方 向 等 を 検 出 す る こ と が で き る 。 こ れ は , 寸 法 検 査 , 面 積 検 査 , 重 心 位 置 検 査 , 方 向 ( 主 軸 ^ ^ c- f ^ 一 ^ 專 画 意
21 ¾ ^ ^ ( ^ 画 專 ) 画 H $ 蔡 龢 T ¾ * %\ Ιί ' ¥ r) 画 ^ 翳 ' S 画 拏 Φ 喜 ¾ 拏 っ 二) 拏 ^ © ^ 翳 封 ^ ω τ r?r ¾ つ ¾ ϋ ° § '
2 § ェ 班 T 二) 葛 ¥† S ¾ S ¾ :) S ¾ 2 凝 画 鹩 : H ¾ 古 ¾3 ¾ ^ 鹩 ' ¾ * W
^ 21 ¾ SI T ' j ^f ^ :: ¾ ¾ 拏 © 2 ^ 鏖 拏 2 拏 ¾ 秦 画 ^ 鹩 $ 0: ¾ :) ^ 一 ^ ^ 画 ^ 鹪 W $ ¾ :) ¾ ¾ ¾ 画 ^ 鹡 Ώ ^ ' 一 ^ 蔡 画 翳 ^ 拏 ^ 翳 w ¾5f ¾ ェ ¾
^ ^ ^ m τ ' ?) i i ^ 25 m ^ ^ ^ ¾ ¾
。 ¾ ¾ ¾ 謇 ί ¾ ^ Τ ® : ^ 喜 ¾ s ¾ 專 画 ° 0 ¾ "^ ::) ¾ ^ 鴛 21 ^ ー ^ ¾ 画 1
¾ 会 凝 害 ί © 2 f w ^ 氍 τ ^ ^ ^ 呦 專 ' ?) > Ί ^ ¾ ' Ώ ί? 皋 ¾ ω S つ ¾ Τ
¾
^ ^ m ^ ^ a) ^ ·½ o y ° 2 2
( 画 ffi ) ¾9 ¾ ¾ ^ ¾ f 拏 ^ 挲 画 ¾ - ^ CD ( ^ ^\ ¾ ¾ ¾ ¾ ^ § Π ' つ ¾ ¾ つ
¾ ^ ¾ ω — 奪 画 挲 画 $ ¾ 2 ::) ¾ ΐ 篛 2i 奪 画 ^ ¾ S 4 ¾ 2 ¾ ' 一 ^ ^ 画 ^ 翳 $ ¾
¾ i ¾ 2i D ¾ ¾ ^ ( ¾J ¾ ø f| ^ ½ ζ ^ ω ' ¾l H-
SI^8I0/66df/lDd 0 /66 OM 4 ェ 军 誕 ニ) ί¾ 1; ¥† つ ¾ ¾ ^ 画 ^ 鹩 拏 :^ 喜 拏 ^ ^ ^ ^ ^ 敏 ^ ^ 画
° ¾ ^ i Ί W ¾ ¾ 裏 酉 ί ¾ 画 ¥ 酈 ¾ ¾ 拏 <¾ 4 拏 ¾ 專 画 ^ 鹩 S W $ q: ¾ T 一 蔡 画 ^ 鹳 W $ ¾ ¾ S ¾ 専 画 ^ Γ Λ ^ ' ¾ ¾ ¾ 専 画 ¾: ^ ¾ — ^ 奪 画 ^ 鹩 4 0: 拏 ¾ ^ 鹪 ¾ ¾ ¾J ^ ¾r _ ^ ½ 3 ¾J ^ © 3i ¾ ^ つ W M 、 ί$ ) 一 ;^ 奪 画 α ' 25 9 ? ?) Β¾ ¾ ©
。 Τ っ 拏 ^ 堇 ^ 画 ^ U 。 < ^ i コ
9 · ^ 拏 ¾ ^ ω 奪 画 τ ? 奪 画 ^ ¾ 。 Τ : つ 拏 重 ¾ ^ 画 ェ 奪 画 專 拏 ! ^ 重 ::) 奪 画 ェ 画 専 ½ ¾ 一 4 ¾ 菖
¾ 肇 画 ^ ¾ ¾ , : ¥: 窨 ¾ ¥ ¾ ¾ 尠 、 Π « ^ ' 案 !! 封 ¾ っ 5 ω m T ' « i i 2) » f» 31 ¾ vi n ^ H ω §B ¾ ø
。 ¾ i ^ ® ^ つ 輋 堇 二) 專 画 ^ 教' ¾ 幽 ω 凝 画 ェ ;? 画 專 W ° 4 ::) ^ T ¾r ^ i ¾f ii ¾ ' ^ つ ' § · 拏 画 、 ェ ' 、 ¾ つ ' S 拏 ¾ 専 画 專 ' f ) > っ 军 爵 ° っ 拏 ^ 重 ::) 画 ^ 翳 ¾ 奪 画 ェ ' つ / ェ 画 專 (¾ 1 ' 25 ¾ ^ ° つ 军 ¾ ^ 3 2 · 拏 ^ 重 ? ( 奪 画 春 ) 奪 画
線複備行加の上示す示るプよ出, }るピこ 18
線分数方画び記え上すするるえュ口こをこをとレとし
像分画手てべ向切のののを記画一上てグが,るる,る
で き る 画 像 デ — 夕 に つ れ る 画 像 ( 対 象 画 像 記 線 分 画 像 に 重 ね る と よ い 。 ま た は , 像 デ 一 夕 に よ つ て る 画 像 の ェ ッ ジ を 抽 上 記 画 像 デ 一 夕 に わ さ れ る 対 象 画 像 に , ま た は 代 え て , た エ ッ ジ の 画 像 を 表 体述理上つ対表抽れぇててとよるうッし
こ と が 好 ま し レヽ o 表 示 と エ ツ ジ 画 像 表 装で象いそ表表わたをジ出にるつこらし
替 え る 手 段 を 設 け 提画置れて。ののすあてたわ示コささと で き る 。
設位像供ベ方れ表すたれすをするもさン
発 明 は さ ら に , 上 ベ て の 画 像 処 理 を 実 方 法 , お よ び 上 述 て の 画 像 処 理 を コ ン 夕 に 実 行 さ せ る よ ピ ュ ー 夕 を 制 御 す る ラ ム を 記 録 し た 媒 し て い る 。 発 明 に よ る 画 像 処 別 の 観 点 か ら 規 定 す 次 の よ う に 表 現 さ な わ ち , こ の 発 明 に 像 処 理 装 置 は , 与 画 像 デ ー タ に お い て ル 勾 配 が 所 定 値 以 複 数 の エ ツ ジ を 抽 出 段 , 抽 出 さ れ た ェ 向 に 対 応 す る 方 向 に 線 分 を 各 エ ツ ジ に 定 す る 手 段 , お よ び 線 分 の 交 点 の 有 無 置 を 検 出 す る 手 段 を い る も の で あ る 。 の 方 向 は , 代 表 的 に は , エ ッ ジ の 方 向 に 直 交 す ま た は ェ ッ ジ の 方 向 と 同 じ 方 向 で あ る 。 上 の 少 な く と も 2 点 に つ い て エ ッ ジ を 検 出 し , 設 定 す る こ と に よ り そ の 交 点 の 有 無 を 判 別 す る こ と が で き , 交 点 が 有 る 場 合 に は そ の 位 置 を 算 出 す る こ と が で き る 。 一 ま た は 複 数 の 交 点 を 検 出 す る こ と に よ っ て 対 象 画 像 の 形 状 , 位 置 , 方 向 等 を 判 別 で き る 。
こ の 発 明 は さ ら に , 上 述 し た 各 種 の 検 査 を 行 な う の に 適 し た 検 査 装 置 を 提 供 し て い る 。
こ の 検 査 装 置 は , 検 査 対 象 物 を 表 わ す 画 像 デ ー タ を 入 力 す る 画 像 入 力 手 段 , 上 記 入 力 画 像 デ ー タ に お い て , 処 理 単 位 の レ ベ ル 勾 配 の 少 な く と も 方 向 を 算 出 し , 算 出 し た レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 を 持 つ 線 分 を 表 わ す 線 分 画 像 デ ー タ を 生 成 す る 手 段 , お よ び 生 成 さ れ た 線 分 画 像 デ ー タ に 基 づ い て , 線 分 画 像 が 密 集 ま た は 重 な っ た 箇 所 の 有 無 と 位 置 を 検 出 す る 手 段 を 備 え て い る も の で あ る 。
上 記 の レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 は , 代 表 的 に は , レ ベ ル 勾 配 の 方 向 ま た は レ ベ ル 勾 配 の 方 向 に 垂 直 な 方 向 で あ る 。 レ ベ ル 勾 配 の 大 き さ が 所 定 値 以 上 の も の に つ い て の み 線 分 を 生 成 す る こ と が 好 ま し い 。
線 分 画 像 が 密 集 し て い る 箇 所 と は 先 に 述 べ た 通 り で あ る 。 線 分 画 像 が 重 な っ た 箇 所 と は , 線 分 の 交 点 の 画 素 , 線 分 画 像 デ 一 夕 の 累 積 値 が 所 定 し き い 値 を 超 え た 画 素 , 累 積 値 が 最 大 の 画 素 , 累 積 値 が 最 大 で あ っ て か つ 所 定 し き い 値 を 超 え た 画 素 な ど い う 。
こ の 発 明 に よ る 検 査 装 置 は , そ の オ ペ レ 一 夕 が 基 準 パ タ ー ン ( モ デ ル 画 像 ) の 設 定 が 不 要 で あ る な ど , 操 作 が 簡 便 で あ る と と も に , 構 成 , 処 理 が 簡 素 で あ る 。 検 査 対 象 の 形 状 , 大 き さ 等 に つ い て の 制 限 も 殆 ど な い 。 照 明 変 動 , ノ イ ズ 等 の 外 乱 の 影 響 を 受 け に く く , ま た コ ン ト ラ ス 卜 の 低 い 不 鮮 明 な 画 像 に も 適 用 で き る 。
一 実 施 態 様 で は , 上 記 線 分 画 像 デ 一 夕 に 基 づ い て , 線 分 画 像 を 表 示 す る 表 示 装 置 が 設 け ら れ る 。 線 分 画 像 の 生 成 過 程 が 視 覚 的 に 明 ら か に な る 。
上 記 表 示 装 置 に は 上 記 入 力 画 像 デ ー タ に よ っ て 表 わ さ れ る 対 象 物 の 画 像 を 線 分 画 像 に 重 ね て 表 示 す る こ と が 好 ま し い 。
他 の 実 施 態 様 で は , 検 出 さ れ た , 線 分 画 像 が 密 集 し た , ま た は 重 な っ た 箇 所 の 位 置 を , 上 記 入 力 画 像 デ ー 夕 に よ っ て 表 わ さ れ る 対 象 物 の 画 像 ま た は 上 記 入 力 画 像 デ ー タ か ら 抽 出 さ れ た エ ツ ジ 画 像 上 に 表 示 す る 表 示 装 置 が 設 け ら れ る 。
種 々 の 検 査 目 的 に 適 合 さ せ る た め に , 線 分 の 長 さ , ま た は 線 分 の 始 点 と 終 点 に 関 す る デ ー タ を 入 力 す る 手 段 が さ ら に 設 け ら れ る 。
こ の 発 明 の 検 査 装 置 は , 対 象 物 に お け る 欠 陥 領 域 の 有 無 と 位 置 の 検 査 , 対 象 物 に お け る 円 形 ま た は 円 弧 形 状 の 有 無 と 位 置 の 検 査 , 円 ま た は 円 弧 の 中 心 位 置 の 検 出 , 半 径 の 測 定 , 真 円 度 の 検 査 , 対 象 物 の 辺 や 角 の 有 無 と 位 置 の 検 査 , 寸 法 , 面 積 , 重 心 位 置 , 方 向 等 の 検 査 に 利 用 で き る 。 こ の 発 明 の さ ら に 他 の 特 徴 は 図 面 を 参 照 し た 実 施 例 の 説 明 に お い て 一 層 明 ら か に な る で あ ろ う 。 図 面 の 簡 単 な 説 明
第 l a 図 は 対 象 画 像 の 例 を , 第 l b 図 か ら 第 I d 図 は こ の 対 象 画 像 に つ い て 生 成 さ れ た 線 分 画 像 の 例 を 示 す も の で あ る 。
第 2 a 図 は 対 象 画 像 の 他 の 例 を , 第 2 b 図 は こ の 対 象 画 像 に つ い て 生 成 さ れ た 線 分 画 像 の 例 を 示 す も の で あ る 。
第 3 a 図 は 線 分 の 弓【 き 方 を 説 明 す る も の , 第 3 b 図 か ら 第 3 d 図 は 生 成 さ れ た 線 分 画 像 の 例 を 示 す も の で あ る 。
第 4 図 は 画 像 処 理 装 置 に 供 給 す る X 線 透 過 画 像 を 生 成 す る た め の 構 成 を 示 す 。
第 5 図 は こ の 発 明 の 一 実 施 例 の 画 像 処 理 装 置 の 電 気 的 構 成 を 示 す プ ロ ッ ク 図 で あ る 。
第 6 図 は 入 力 画 像 の 一 例 を 示 す 。
第 7 図 は レ ベ ル 勾 配 の 算 出 の た め の 局 所 領 域 の 一 例 を 示 す 。
第 8 a 図 か ら 第 8 h 図 は 着 目 画 素 と そ の 周 囲 の 画 像 デ ー タ と レ ベ ル 勾 配 の 方 向 と の 関 係 を 示 す 。
第 9 図 は 検 査 領 域 内 に お け る レ ベ ル 勾 配 の 方 向 の 例 を 示 す も の で あ る 。 第 10図 は 検 査 領 域 内 で 生 成 さ れ た 線 分 画 像 を 示 す 。 第 11 a 図 か ら 第 11 d 図 は 線 分 の 弓 I き 方 の 例 を 示 す 。 第 12 a 図 お よ び 第 12 b 図 は 画 像 処 理 装 置 に お け る 処 理 手 順 を 示 す フ ロ ー チ ヤ 一 ト で あ る 。
第 13 a 図 お よ び 第 13 b 図 は 検 査 結 果 の 表 示 例 を 示 す 第 14図 は 十 字 型 の 輪 郭 を 有 す る 対 象 物 の グ レ イ · レ ベ ル 画 像 の 例 を 示 す 。
第 15図 は 第 14図 の 対 象 物 に つ い て , 画 像 の 輪 郭 線 上 に お け る レ ベ ル 勾 配 の 方 向 の 例 を 示 す 。
第 16図 は 画 像 処 理 装 置 に お け る 処 理 手 順 の 他 の 例 を 示 す フ ロ 一 チ ヤ 一 ト で あ る 。
第 17図 は 線 分 画 像 の 交 点 の 位 置 を 示 す 。
第 18図 は 画 像 処 理 装 置 の 他 の 電 気 的 構 成 例 を 示 す ブ ロ ッ ク 図 で あ る 。 発 明 を 実 施 す る た め の 最 良 の 形 態
こ の 実 施 例 は B G A ( bal l grid array ) , す な わ ち 下 面 に は ん だ ボ ー ル の 端 子 を ア レ イ 状 に 配 置 し た L S I ( Large Scale Integration ) の ケ ー ジ を 実 装 ( 搭 載 ) し た 基 板 の X 線 透 過 画 像 を 処 理 す る も の で あ る 。 は ん だ ボ ー ル ( は ん だ ン プ を 含 む ) が 溶 融 し た も の も こ の 実 施 例 で は は ん だ ポ ー ル と い う も の と す る 。 こ の 画 像 処 理 装 置 は は ん だ ボ ー ル 内 に ボ イ ド が 存 在 し て い な い か ど う か を 検 査 す る も の で あ る 。
第 4 図 は , 画 像 処 理 装 置 に 供 給 さ れ る 画 像 デ ー タ を 生 成 す る た め の 構 成 を 示 す も の で あ る 。
検 査 対 象 の 基 板 1 8は , 支 持 機 構 ( 図 示 略 ) に よ り X 線 照 射 部 1 6と X 線 変 換 部 1 7と の 間 に 支 持 さ れ て お り , X 線 変 換 部 1 7の 下 方 位 置 に は カ メ ラ 2 0が 配 置 さ れ て い る 。 X 線 照 射 部 1 6は , 微 小 な X 線 発 生 源 よ り 基 板 1 8に 対 し X 線 を 照 射 す る 。 基 板 1 8を 透 過 し た X 線 は X 線 変 換 部 1 7で 可 視 光 線 に 変 換 さ れ る 。 カ メ ラ 2 0は , 変 換 さ れ た 可 視 光 線 を 撮 像 し て , 各 は ん だ ボ ー ル の 内 部 状 態 を 表 わ す X 線 透 過 画 像 を 表 わ す 画 像 デ 一 夕 を 生 成 し , 画 像 処 理 装 置 に 供 給 す る 。
第 5 図 は 画 像 処 理 装 置 の 電 気 的 構 成 を 示 す も の で あ る 。
画 像 処 理 装 置 は , 画 像 入 力 部 2 , 画 像 メ モ リ 3 , 画 像 出 力 部 4 , 線 分 画 像 メ モ リ 5 , 文 字 メ モ リ 6 , 制 御 部 1 1 , タ イ ミ ン グ 制 御 部 1 2, モ ニ タ 表 示 装 置 1 3, 1 / 〇 ポ 一 ト 1 4な ど に よ り 構 成 さ れ る 。
画 像 入 力 部 2 は , カ メ ラ 2 0か ら の ア ナ ロ グ 映 像 信 号 を デ ィ ジ タ ル 画 像 デ ー タ に 変 換 す る た め の A / D 変 換 器 な ど を 備 え て い る 。 画 像 入 力 部 2 に お い て 生 成 さ れ た デ ィ ジ タ ル · グ レ イ · レ ベ ル 画 像 デ ー タ は 画 像 メ モ リ 3 に 格 納 さ れ , 次 の 画 像 デ ー タ 入 力 時 ま で 保 存 さ れ る 。 線 分 画 像 メ モ リ 5 は , 後 述 す る 線 分 画 像 を 表 わ す 線 分 画 像 デ ー タ を 記 憶 す る も の で あ る 。 こ の メ モ リ 5 の 線 分 画 像 デ ー タ は ボ イ ド の 検 出 処 理 や 線 分 画 像 の モ ニ 夕 表 示 装 置 1 3へ の 表 示 等 の た め に 用 い ら れ る 。 後 述 す る 線 分 画 像 の 輝 度 レ ベ ル が 8 ビ ッ 卜 で 表 わ さ れ る 場 合 に は , こ の メ モ リ 5 は 1 画 素 当 り 1 6 ビ ッ ト ま た は 3 2ビ ヅ ト を 記 憶 で き る も の で あ る 。
文 字 メ モ リ 6 に は 検 査 結 果 な ど モ ニ タ 表 示 装 置 1 3上 に 表 示 す る た め の テ キ ス ト · デ ー タ , そ の 表 示 位 置 を 示 す デ ー タ 等 が 格 納 さ れ て い る 。
こ れ ら メ モ リ 5 6 お よ び 画 像 メ モ リ 3 は , そ れ そ れ ァ ド レ ス / デ ー タ · " ス を 介 し て 制 御 部 1 1に 接 続 さ れ て お り , 制 御 部 1 1か ら の 指 令 お よ び タ イ ミ ン グ 制 御 部 1 2か ら の タ イ ミ ン グ 信 号 に 応 じ て , 記 憶 デ ー タ を 画 像 出 力 部 4 へ 出 力 す る 。
画 像 出 力 部 4 は , 各 メ モ リ 3 , 5 6 か ら の 出 力 デ — 夕 を 合 成 処 理 す る 画 像 合 成 回 路 や , D / A 変 換 回 路 を 備 え , こ れ ら 回 路 に よ り 検 査 結 果 表 示 用 の 画 像 信 号 を 生 成 し て モ ニ タ 表 示 装 置 1 3へ 出 力 す る 。
制 御 部 1 1は , 主 に C P U 7 R 0 M 8 お よ び R A M 9 に よ り 構 成 さ れ る 。 制 御 部 1 1は さ ら に 検 査 の た め の — 連 の 手 順 を C P U 7 に 実 行 さ せ る た め の 制 御 プ ロ グ ラ ム が ン ス ト ー ル さ れ た ド デ ィ ス ク 1 0を 備 え て い る 。 C P U 7 は , ヽ ー ド デ ィ ス ク 1 0に イ ン ス ト ー ル さ れ た 制 御 プ ロ グ ラ ム に 基 づ い て , ァ ド レ ス / デ 一 タ ノ ス を 介 し て 上 述 し た メ モ リ 3 , 5 お よ び 6 に ァ ク セ ス し て , 検 査 対 象 で あ る 基 板 上 の 各 は ん だ ボ ー ル の 良 否 の 判 定 処 理 を 実 施 し , そ の 結 果 を モ ニ タ 表 示 装 置 1 3 に 出 力 す る 。
I / O ポ ー ト 1 4は , キ ー ボ ー ド ゃ マ ウ ス な ど の 入 力 部 や , 外 部 記 憶 装 置 , 伝 送 部 の よ う な 出 力 部 を 接 続 す る た め の も の で あ る 。 入 力 部 か ら は , 後 述 す る 検 査 条 件 や 検 査 領 域 の 設 定 デ ー タ が 入 力 さ れ る 。 出 力 部 へ は , フ ァ イ ル 化 さ れ た 最 終 検 査 結 果 が 出 力 さ れ る 。
第 6 図 は 画 像 メ モ リ 3 に 格 納 さ れ て い る グ レ イ · レ ベ ル 画 像 デ ー タ に よ っ て 表 わ さ れ る 画 像 の 一 例 を 示 す も の で あ る 。 複 数 個 の は ん だ ポ ー ル 2 1の 画 像 が 背 景 ( 基 板 の 画 像 ) よ り も 明 る く 現 れ て い る 。 は ん だ ボ ー ル 2 1の 画 像 の 中 に は , は ん だ ボ ー ル 内 部 の ボ イ ド 2 2の 画 像 が 映 っ て い る も の も あ る 。 ポ ィ ド 2 2の 画 像 は は ん だ ボ ー ル 2 1の 画 像 よ り も や や 暗 い 。
C P U 7 は , 第 6 図 に 示 さ れ る よ う な 入 力 画 像 に お い て , は ん だ ボ ー ル ご と に そ れ を 囲 む 大 き さ の 検 査 領 域 r k ( k = 1 〜 6 ) を 設 定 す る 。 各 検 査 領 域 r k に お い て , 画 素 ご と に , グ レ イ · レ ベ ル 画 像 デ 一 夕 の レ ベ ル 勾 配 の 方 向 と 大 き さ を 算 出 す る 。 C P U 7 は さ ら に , 算 出 し た レ ベ ル 勾 配 の 方 向 に 沿 う 方 向 を 持 ち , 所 定 の 長 さ の 線 分 を 生 成 す る ( 後 述 す る よ う に , レ ベ ル 勾 配 の 大 き さ が 所 定 値 以 上 の 場 合 に つ い て の み 線 分 が 生 成 さ れ る ) 。 線 分 の 画 像 も グ レ イ · レ ベ ル 画 像 で あ り , そ の レ ベ ル は 算 出 し た レ ベ ル 勾 配 の 大 き さ に 対 応 す る 。 こ の よ う に し て 生 成 さ れ た 線 分 画 像 デ ー タ は 線 分 画 像 メ モ リ 5 に 格 納 さ れ る ( 後 述 す る よ う に , レ べ ル は 画 素 ご と に 累 積 さ れ て い く ) 。 線 分 画 像 デ 一 夕 は 画 素 ご と に レ ベ ル · デ 一 夕 を 持 つ 画 像 デ 一 夕 で あ っ て も よ い し , 線 分 の 始 点 , 終 点 お よ び レ ベ ル を 表 わ す デ — 夕 に よ っ て 構 成 す る こ と も で き る 。
各 検 査 領 域 内 の す べ て の 画 素 に つ い て の レ ベ ル 勾 配 の 算 出 , 必 要 な 線 分 画 像 の 作 成 が 終 了 す る と , C P U 7 は 線 分 画 像 の 密 集 の 度 合 い , ま た は 最 大 レ ベ ル を も つ 画 素 の 検 出 , 最 大 レ ベ ル と 所 定 の し き い 値 レ ベ ル と の 比 較 を 行 い , 最 終 的 に 検 査 領 域 内 に ボ イ ド 2 2の 画 像 が 存 在 す る か ど う か を 判 定 す る 。
画 像 処 理 装 置 に お け る 具 体 的 な 処 理 手 順 を 説 明 す る 前 に , 線 分 画 像 の 生 成 処 理 , お よ び 線 分 画 像 に 基 づ く ボ イ ド の 有 無 の 判 定 原 理 に つ い て 説 明 す る 。
画 像 デ 一 夕 に お け る レ ベ ル 勾 配 の 算 出 処 理 で は , 検 査 領 域 内 の 各 画 素 ご と に , そ の 画 素 を 中 心 と す る 所 定 大 き さ の 局 所 領 域 に お い て 微 分 処 理 を 行 っ て , X , Y 各 軸 方 向 の レ ベ ル 勾 配 を 算 出 し , こ れ ら 算 出 し た 値 を 用 い て 最 終 的 に 各 画 素 に お け る レ ベ ル 勾 配 を 求 め る 。
た と え ば 第 7 図 に 示 す よ う に , 座 標 位 置 ( X , y )
S/66 o寸/66/ O13;
o 0 CO 画
X
^ TH X Q ゝ で ¾
1 ·
Θ + + >
o o Θ
1 +
+ X + X 屮
- X
Θ
CO
X
CO
t J
Figure imgf000029_0001
画 X リ X •κ Q
X で り -EH 画 Θ Θ 00
X:
1 ten 画 ぐ 囀
1 ム +
翥 :〗 (ε) つ ¾ T ( ^ ^ ^ ^ ^ ^ ω A "( ^ 21 ( i- ^ -2\ a S 画 ¾; ° ( § ¾ i S « ¾ 亩 )
¾ o ^ fR ^ ^ J- ^ ω ( 6 ) 〜 ( ) 0 ^ ( 二) ( ^ ' χ ) ^ ρ ( 尺 ' χ ) X Ρ ^ ^ ω ^ ί ^ ' ( ' ) 。 3 ¾ ^ ^ ¾ ¾J ^ ® 2 f¾ ^ H ¾ ¾ ^ © 0) ¾09S ~0i,2 ' ¾0 2 〜081 ' ¾08ΐ 〜06 ( ¾06 〜 0 ' つ ^ Γ) 9 ^ 4 ^ * W ' : P) J ^! ^ ' : I ( ^ ?? ^ 専 ' HI ) $ ^ ¥ © 3i l¾ ^ 職 ¾ 入 ' X
° ^ ¾ 拏 $ ¾J
^ ^ ^ - ^ ^ ^ ^ ^ Q) . Λ( ^ ^ ( っ ^
¾ 0 ¾ 3 4 ^ ^ ¾0 HI W X a S 案 画
° 9r ^ ¾ ) ^ ¾J © ^l
¾ 1 2- c ¾J 25 ¾ 5} ¾ νΐ e ω ¾ fl( j ^i
4
Figure imgf000030_0001
2厘 ¾ ^ ® ¾J 職 入 Λ T £f 聯 X ) d 4 ^
° (
、 § ) 、つ 颦 # 潘 ¾ί ¾ # ω ^ § if $ べ ^ \( ° 9: ¾ ' ω ¾ ^ ω ^ g ¾ ¾ ::) ^ T
⑦ ¾J © 2厘 ¾ 2. ^ 25 ^ ^ ^i ^l ¾'a( G9 ¾
S O/66dfAI d /66 O dx ( x , y ) < 0 か つ dy ( x, y ) > 0 な ら ば
E c ( x , y )=-arctan( dx( x , y ) /dy ( x , y ) ) 式 (4 ) dx( x , y)〉 0 カ っ dy ( x , y )≠ 0 な ら ば
E c ( x , y )= 180-arctan ( dx ( x , y ) /dy ( x, y ) ) 式 ( 5 ) dx ( x , y ) ≤ 0 つ dy( x, y )く 0 な ら ば
E c ( x , y )=360-arctan ( dx ( x , y ) /dy ( x , y ) ) 式 ( 6 dx ( x , y ) > 0 か つ dy ( x , y ) = 0 な ら ば
E c ( x , ) = 180 式 ( 7 ) dx ( x , y ) ≤ 0 か つ dy ( x , y ) = 0 な ら ば
E c ( x, y ) = 0 式 ( 8 ) dx ( x, y ) = 0 か つ dy( x, y ) > 0 な ら ば
E c ( x , y ) = 90 式 ( 9 ) 第 9 図 は , 第 6 図 に 示 す 入 力 画 像 の う ち , 検 査 領 域 r 内 の 画 像 の 輪 郭 線 の み を 抽 出 し て 示 す も の で あ り , は ん だ ボ ー ル の 画 像 の 輪 郭 線 と ボ イ ド の 画 像 の 輪 郭 線 と が 示 さ れ て い る 。 こ の 輪 郭 線 上 の 代 表 点 e , e に つ い て 算 出 さ れ る レ ベ ル 勾 配 を 表 わ す べ ク ト ル F , , F も あ わ せ て 示 さ れ て い る 。 a- o
雞 Θ f 薪 Θ m 画 \nft -* uw 篛 篛 画 ■ urn- -r I
O 漭 Π> a- ~n t ~ '- v-
Θ n Θ ϋ Π Θ Ml X
φ o
瞬 織 r Θ a- rv 1 d 0 被 Π - 1
Figure imgf000032_0001
CD - r ~n
ri 濉 S o
f 4 Q m Θ Θ in 雞 Θ ~n ¾. Θ n 画 画 o
H Θ Θ Λ r
Π マ §§ ~n > m Φ CD
鄴 醐 Θ Θ Π ? S Θ 画 n- n- Θ
Figure imgf000032_0002
Θ 画 Θ Π Q Θ ~η
蘊 ||m|l 瘫 a- nト ϋ Θ ― Θ
m a- ϋ a- r\ Θ H 醐
<··
1 ト 0 r\ Λ t ¾l 1 a- 1 -r k
0 篛 r\ V nl Θ
(¾V Θ k Θ =Dr o
Θ 1 霡 Θ 画
iV r o
c ν D n- r\ (V 函 (t) ri r 画 limn Θ 雞 X
Θ 9t >- n
r linili Θ r
¾ H 函 ) © $ ^ ¥ ' φ ' ϊ? ¾ a. i¾ i
?) 5 a? y ^ D ^ fi ω 二) ? ::
g つ :? ' ψ ¾ ¾ 驊 ⑦ y ¥) ^ 翳 ° ( I fel i I C 2) d
Ί ^ 戬 ) 、 ¥ ) s a © Ed ) α 鹅 ¾ © a. ^ w ま ω
6 T ^ f ^ ¾ ^ b s 案 画 ' > ¥ Q T ¾ 余 ω u ?} p ϋ as © i ¥ Co B Ί 鹩 b s 挲 画 : n i 园 q u ¾
° -
¾ 函 《 ¥ ω ¾ ^ Φ ' ^ ¥ © ^ ' ^ § ¾ a. ¾# ia FF? 1
¥) 5 0 y ° § ¾ > ^ ¥ Q T ( 鹩 ¾ 騸 ) ω? }
· q: 拏 ^ ^ 鹪 ω ¾ α ' ¾ 蓽 2) 、1 互 ) ^ 翳 w
' ) ^ ¾ ^ v1 ¾ ¾ ^ ¾f 0- I 2} © i ^ ^
誓 、 ¾ T ¾ 扉 ω ω ' ^
9 挲 画 C_ ^ 3 專 0 ^? 鴛 ¾> § 4 ^ 翳 ω b 1 ^ D Ί m CO · z 2- m ^ \ \ m
° § 、 っ ^ 鹩 ¾r l ¾ 舍 畜 S W * 2S
^ z i c rj o? ¾ ' a. ^ ^ ¾ B Θ ^ D Θ ^ 拏 :^ 二)
T ill H © ¾ ω ' q ¾p ω ¾ ω ^ f ^ § ¾ i
^ ^ ^ ¾ ^ ^ ' 誓 図 p 11 ¾ ¾ H ¾ ΐ I H
° S T Λ ^ ■2\ M %( a
¾ 5 蔡 ¾ ^ ø ' u 2- m f ! ^ m ^ ^ ^ - ^ o w T ' ¾ s ¾ つ つ ° ¾
¾ D ω Hi u ^ ^ ω c .j- ¾ ¾ ^ « ¾ ¾ w ^ Ώ ¾j ^ ω ^ 銷 ' a. ω i ^ s¥ i ¾ ■2- S ?1
S lO/66dT/±Dd Zム 0 /66 OM
s/6oz6 OM; l3o/66fc71d
0 3 お Θ Θ ^ ¾ » J V 3
0 ■H 33 ■fnl
P -5- V
v Q 口
if
φ Ώ J Q:, HZ 0 り ό an?
-K ί J -Θ- 'く m H 画 ■ X Θ 班 画 n Θ 図 Θ ¾
+6 Θ m り S Φ
3 骡 m ^ ^ Ί Θ Θ p Θ 00 <Π ^ ¾i
Q Θ ¾ β
I Q ΐ< S
Θ 槳 « -h w EZ リ AJ
■H Θ
銜崃 ¾ u ¾ '
Figure imgf000034_0001
■H Θ Θ Θ Θ ¾f Θ a: -Β- BZ リ Θ ゆ m Θ EI 照 x 図 HI EZ ΕΖ iff AJ
ϋ ) Θ •R +6 X Θ 画
AJ 3 画 AJ 画
« Θ ¾* ■K Θ
Q Ψ » ¾ 崛 *+6
w ^ ^ ^>
¾o ^も sも ¾二:
0 Ύ ^. = P ° <¾ 4 蓽 ? :: > ¾ ^ 鹩 ' > * ¾ ニ) ¾
¾ 9: W ϊί拏 ¾ 蕩 画 ^ ¾ ) ^ 牽 ' 《 I ° ΐ ^ 2. m m ^ a -2- ^ ' ^ 鹳 w 案 画 ) 军 ¾f S ¾ ^ 0 W ¾ 古 ^ 目 ω Ed Q ) ¾f ¾ ω ¾|
^ Q) i ' CD <^ ^ f ( W ) ^ 徵 P! ^ ¾ 09 W W 9r
' つ ψ ¾ s ( ) ^ n 25 ¾ ii s ^ ¾ ω ω -
¾ ¾ ¾ * ω ( α = p ) つ ¾ ¾ι 呦 専 c j --
^ { n o ε ¾ ° ¾ ¾ ^ ^ ί 挲 画 T ¥i r) ¾ ¾ ° s ¾ -: o ?, ¾ ^ 鹳 « ^ 翳 ω :
° ¾ : :: ¾· ^ ¾ ¾ 二 ί ¾ ω— ^ α ^ ρ ^ ¾
° s ^ ^ コ § _!· ¾ ^ ^ 4 ¾ # # 呦 奪 ½ ^ 目 ::) ^ ¾ ω ' .?) ^ ^ ^ ^ ^ m Β ω ^ m ' 0· ¾: 4 ¾ ¾ # 奪 ω ^ 翳 二 ( q = α ) q ¾ i¾ ¾ 0 i ^ ^ ^ ^ 喜 ¾ ω 輋 画 ' ( ¾ = ρ ) Β ¾ 鹅 ¾ © ^ ¾ ω ^ 鹩 s ¾ © 挲 画 ) 璽 籙 專 画 ° S > Y ¾ ¾ ® q ^
B >ι — ^ 一 ^ ' ^ ¾ 、 つ ¾ ¾ 呦 専 ^ ω -
$ q ¾ ¾ ^ ¾ ' ¾ ¥ ° S i ^ ? :: ¾ ¾ ¾ ?) ^ ? ω ¾r ^ ^ ¾ ¾余 '
D ^ ¾ § ¾ i ¾ y ¾ ^ i¾ «
° ϋ ? § っ 輋 ^ ^ 鹩 ; !? : 、 1 ¾ s ^ [« ω 挲 画 εε
Sf8l0/66df/13d Zム 0ZS/66OAV 0 , D を デ フ ォ ル ト 値 と し て お け ば , 半 径 の 大 き さ に か か わ り な く , 円 や 円 弧 が 存 在 す る こ と に つ い て の 検 出 が で き る 。 特 に 第 3 d 図 に 示 す よ う に , 線 分 を 円 の 外 側 に 向 か っ て 弓 I く 場 合 に 有 効 で あ る 。
こ の 実 施 例 で は , 上 述 し た 原 理 に 基 づ き , 画 素 の 位 置 か ら 線 分 の 終 点 ま で の 距 離 D と , 画 素 の 位 置 か ら 線 分 の 始 点 ま で の 距 離 d と を , 検 査 条 件 と し て 設 定 す る こ と に よ り , 所 定 値 以 上 の 大 き さ の ボ イ ド を , 検 出 対 象 と し て 検 出 す る よ う に し て い る 。 ま た , こ の 検 査 条 件 を 必 要 に 応 じ て 変 更 し て 再 度 検 査 を 実 施 す る こ と も 可 能 で あ る 。
第 1 2 a 図 お よ び 第 1 2 b 図 は 画 像 処 理 装 置 に お い て , カ メ ラ 2 0か ら 入 力 さ れ た 1 枚 の 画 像 に 対 す る 制 御 手 順 を 示 す 。 検 査 条 件 と な る 画 素 の 位 置 か ら 線 分 の 終 点 ま で の 距 離 D , お よ び 画 素 の 位 置 か ら 線 分 の 始 点 ま で の 距 離 d は , こ の 手 順 の 実 行 に 先 立 っ て 入 力 さ れ , R A M 9 内 に 記 憶 さ れ て い る も の と す る 。
ま ず ス テ ッ プ S T 0 で , カ メ ラ 2 0か ら の 画 像 信 号 が デ イ ジ タ ル 変 換 さ れ て 画 像 メ モ リ 3 に 格 納 さ れ る と , C P U 7 は , こ の 入 力 画 像 を 画 像 出 力 部 4 を 介 し て モ ニ 夕 1 3に 表 示 さ せ る 。
オ ペ レ ー タ が , マ ウ ス な ど を 用 い て , 表 示 画 像 上 で , は ん だ ボ ー ル の う ち の 任 意 の 1 個 を 含 む よ う に 検 査 領 域 を 指 定 す る 。 C P U 7 は こ の 指 定 位 置 に 基 づ き , 検 査 領 域 の 設 定 位 置 ( は ん だ ボ ー ル と の 相 対 位 置 関 係 ) や 領 域 の 大 き さ を 認 識 す る 。 基 板 上 の 各 は ん だ ボ 一 ル の 位 置 ( た と え ば 基 板 の 座 標 原 点 を 基 準 と す る 位 置 ) は , あ ら か じ め , ま た は こ の 時 点 で 既 に 入 力 さ れ て い る も の と す る 。 C P U 7 は , 検 査 領 域 の 指 定 を 受 け た 以 外 の は ん だ ボ ー ル に つ い て も , は ん だ ボ ー ル と 検 査 領 域 と の 位 置 関 係 を 用 い て , 検 査 領 域 を そ れ ぞ れ 設 定 す る ( ス テ ッ プ ST1 ) ( 第 6 図 参 照 ) 。 検 査 領 域 の 位 置 は , そ の 領 域 の 左 上 , 右 下 の 頂 点 の 座 標 ( X k t , y k i ) , ( k 2 , y k 2 ) に よ り 表 わ さ れ る 。
C P U 7 は , ス テ ッ プ ST2 へ 移 行 し て , 線 分 画 像 メ モ リ 5 内 の 各 画 素 の レ ベ ル · デ ー タ を 0 に ク リ ア し , そ の 後 , 検 査 領 域 ご と に , ス テ ッ プ ST3 〜 ST19の 処 理 を 繰 り 返 し 実 行 す る 。
ス テ ッ プ S T 3 で は , 着 目 画 素 g の 初 期 位 置 が 検 査 領 域 の 左 上 頂 点 の 位 置 ( X k , y k 1 ) に 定 め ら れ る 。 ス テ ツ プ S T 4 で は , 式 ( 1 ) , ( 2 ) に 基 づ い て , 着 目 画 素 g に お け る X 軸 , Y 軸 方 向 の レ ベ ル 勾 配 d x ( , y ) , d y ( x , y ) が 算 出 さ れ る 。 d x , d y が と も に 0 の 場 合 に は ス テ ッ プ ST6 〜 ST10を ス キ ッ プ す る 。 d X , d y の い ず れ か が 0 で な け れ ば , 式 ( 4 ) ~ ( 9 ) の い ず れ か d x , d y に 適 合 す る も の に し た が っ て , レ ベ ル 勾 配 の 方 向 を 示 す 角 度 E c ( X , y ) お よ び レ ベ ル 勾 配 の 大 き さ ( X , y ) が 算 出 さ れ る ( ス テ ッ プ ST 6 ) o
続 い て 算 出 し た レ ベ ル 勾 配 の 大 き さ E i ( X , y ) が 所 定 の し き い 値 E i L B よ り 大 き い か ど う か が チ ェ ッ ク さ れ る ( ス テ ッ プ ST7 ) 。 レ ベ ル 勾 配 の 大 き さ E i ( X , y ) が し き い 値 E i L B 以 下 で あ れ ば , 線 分 を 生 成 す る ス テ ッ プ ST8 ~ ST 10の 処 理 は 行 わ れ な い 。 入 力 画 像 に お け る 輝 度 む ら 等 の 検 出 す べ き 対 象 で は な い も の に つ い て は 線 分 を 生 成 し な い こ と に よ り , 無 駄 な 処 理 を 省 き , 誤 っ た 検 査 結 果 が 得 ら れ る の を 防 ぎ , 全 体 と し て 処 理 の 高 速 化 を 図 る 。
C P U 7 は , 着 目 画 素 g の 位 置 ( X , y ) に お い て , 反 時 計 回 り の 方 向 に E c ( x , y ) の 方 向 を 線 分 の 方 向 と し て 定 め る 。 こ の 設 定 方 向 に お い て , 着 目 画 素 g か ら 距 離 d , D そ れ そ れ 離 れ た 各 点 を , 着 目 画 素 g に 対 応 す る 線 分 の 始 点 , 終 点 と し て 設 定 し , 線 分 画 像 メ モ リ 5 に お い て , こ れ ら の 点 に 相 当 す る 座 標 ( X 。 , y 。 ) , ( χ τ , y τ ) を 認 識 ま た は 算 出 す る ( ス テ ヅ プ S Τ 8 ) 。 C P U 7 は , 次 の ス テ ッ プ S Τ 9 で 線 分 画 像 メ モ リ 5 に お い て , 上 記 の 始 点 お よ び 終 点 に よ り 規 定 さ れ る 線 分 上 の す べ て の 画 素 の 座 標 を 算 出 ま た は 認 識 し , 認 識 し た 各 画 素 に 対 し , そ れ ぞ れ の 画 素 が 現 在 保 有 す る ( そ の 画 素 に 対 応 し て 記 憶 さ れ て い る ) レ ベ ル 値 に ス テ ッ プ ST6 で 算 出 さ れ た レ ベ ル 勾 配 の 大 き さ E i ( X , y ) に 相 当 す る レ ベ ル 値 を 加 算 し 記 憶 す る ( ス テ ッ プ ST 10 ) 。
ス テ ッ プ ST 1 1〜 ST 14は , 検 査 領 域 内 の 画 像 の 着 目 位 置 を 順 次 ず ら す 処 理 を 示 す も の で あ る 。 以 下 同 様 に し て , 検 査 領 域 内 で レ ベ ル 勾 配 の 大 き さ が し き い 値 E i L B を 超 え る 画 素 毎 に , そ の レ ベ ル 勾 配 の 方 向 に 沿 い , か つ レ ベ ル 勾 配 の 大 き さ に 相 当 す る レ ベ ル を 有 す る 線 分 が 設 定 さ れ て , 線 分 画 像 が 生 成 さ れ て い く 。
線 分 画 像 メ モ リ 5 内 で 線 分 上 に 存 在 す る と し て 認 識 さ れ た 画 素 の レ ベ ル 値 に は , 新 た に 設 定 さ れ る 線 分 の レ ベ ル に 応 じ た 値 が 力 Π 算 さ れ て ゆ く か ら , 線 分 が 重 な つ て い る 画 素 は 他 の 画 素 よ り も 高 い レ ベ ル 値 を 保 有 す る よ う に な る 。 レ べ ノレ 勾 配 の 大 き さ E i ( X , y ) が 大 き い ほ ど , 高 い レ ベ ル 値 を 持 つ 線 分 が 設 定 さ れ る 。 ま た 一 般 に , 画 像 上 の は ん だ ボ ー ル や ボ イ ド の 輪 郭 で は レ ベ ル 勾 配 は 大 き い か ら , ボ イ ド の 輪 郭 に 沿 う 部 分 に お い て 生 成 さ れ た 線 分 は ボ イ ド の 内 部 で 数 多 く 重 な る こ と に な り , ボ イ ド の 内 部 で 画 素 の レ ベ ル 値 は き わ め て 高 く な る 。
C P U 7 は , 検 査 領 域 内 の す べ て の 画 素 に つ い て 処 理 を 終 え る と , 処 理 対 象 の 検 査 領 域 内 に お け る 画 素 の 持 つ レ ベ ル の 最 大 値 D m a x を 抽 出 す る ( ス テ ッ プ ST 15
) 。 検 出 さ れ た レ ベ ル の 最 大 値 D m a は , ス テ ヅ プ S T 16で 所 定 の 基 準 値 D L Bと 比 較 さ れ る 。 D m a x 力 S D L Bを 上 回 る と き は , 検 査 領 域 内 に ボ イ ド の 画 像 が 存 在 す る と 判 定 さ れ , さ ら に レ ベ ル の 最 大 値 D m a x が 得 ら れ る 画 素 の 位 置 が 認 識 さ れ る ( ス テ ッ プ S T 17 , ST 19 ) 。 ま た D m a が D B以 下 で あ る 場 合 に は , 検 査 領 域 内 に は ボ イ ド の 画 像 は な い も の と 判 断 さ れ る ( ス テ ッ プ S T 18
) o
同 様 に し て す ベ て の 検 査 領 域 に つ い て の 処 理 が 終 了 す る と , ス テ ッ プ ST20で 「 YES 」 と な っ て ス テ ッ プ ST 21へ と 移 行 す る 。 C P U 7 は , 線 分 画 像 メ モ リ 5 内 の 各 画 素 の レ ベ ル 値 を 順 次 読 み 出 し て , 式 ( 10 )に よ り , 各 レ ベ ル 値 P ( X , y ) を 8 ビ ッ ト 構 成 で 表 示 可 能 な 値 に な る よ う に 正 規 化 す る 。
P ( X , y ) P ( X , y ) X 255 / Dm a x … 式 ( 10 ) こ の 後 , C P U 7 は , 正 規 化 さ れ た 線 分 画 像 デ ー タ を , 原 入 力 画 像 デ 一 夕 や 判 定 結 果 を 示 す テ キ ス ト ' デ — 夕 な ど と と も に 画 像 出 力 部 4 に 出 力 し て 合 成 処 理 さ せ , モ ニ タ 表 示 装 置 13へ 出 力 さ せ る ( ス テ ッ プ ST22 ) 。 対 象 の 輪 郭 を 抽 出 し て 輪 郭 を 表 示 し て も よ い 。
上 記 の ス テ ッ プ S T 21で は 検 査 領 域 ご と に 線 分 画 像 デ 一 夕 を 最 大 輝 度 レ ベ ル D m a x で 正 規 ィヒ し て い る の で , す べ て の 領 域 に お い て 正 規 化 後 の 最 大 輝 度 は 同 じ で あ る 。 他 方 , す べ て の 検 査 領 域 内 に お け る 最 大 輝 度 レ べ ル を 検 出 し , こ の 最 大 輝 度 レ ベ ル で す べ て の 検 査 領 域 の 画 像 デ ー タ を 正 規 化 す る と , ボ イ ド の 存 在 し な い 検 査 領 域 で は そ の 領 域 全 体 の 輝 度 が 小 さ い か ら 暗 く 見 え , ボ イ ド が 存 在 し な い こ と が 明 瞭 に 分 か る よ う に な る 。 も ち ろ ん , あ ら か じ め 定 め た レ ベ ル を 用 い て 全 領 域 の 画 像 デ ー タ を 正 規 化 し て も よ い し , 正 規 化 を 行 わ な い よ う に し て も よ い 。
上 記 実 施 例 で は , 各 線 分 画 像 に , そ の レ ベ ル 勾 配 の 大 き さ に 応 じ た レ ベ ル 値 を も た せ る よ う に し て い る が , こ れ に 限 ら ず , す べ て の 線 分 を 同 一 の レ ベ ル で 表 わ す よ う に し て も よ レヽ 。 し か し な が ら , 輝 度 む ら な ど の ノ イ ズ に よ る レ ベ ル 勾 配 に 対 応 す る 線 分 と , 輪 郭 に お け る レ ベ ル 勾 配 に 対 応 す る 線 分 と が 同 一 の 条 件 で 生 成 さ れ る と , 誤 検 出 が 生 じ る お そ れ が あ る の で , ス テ ツ プ S T 7 の よ う に レ ベ ル 勾 配 の 大 き さ が 所 定 の し き い 値 以 下 の も の は , 線 分 生 成 処 理 対 象 か ら 除 外 す る の が 望 ま し い 。
第 1 3 a 図 お よ び 第 1 3 b 図 は , 上 述 し た 制 御 手 順 に よ り 生 成 さ れ た 判 定 結 果 の 表 示 例 を 示 す 。 第 1 3 a 図 に 示 す 例 で は , 線 分 画 像 の 中 か ら レ ベ ル 値 が し き い 値 D L B を 超 え る 部 分 の 画 像 3 0だ け が 抽 出 さ れ て 高 い 輝 度 を 持 つ よ う に レ ベ ル 変 換 さ れ , 原 入 力 画 像 上 に 重 ね 合 わ せ て 表 示 さ れ て い る 。 ま た 画 面 の 左 上 の 位 置 に は , ボ イ ド の 存 在 に よ り 不 良 と 判 定 さ れ た は ん だ ボ ー ル の 個 数 を 示 す 文 字 情 報 3 1が 表 示 さ れ て い る 。 1 3 b 図 の 表 示 例 は , 抽 出 さ れ た ボ イ ド の 位 置 を 報 知 す る よ う に し た も の で , 原 入 力 画 像 に , ス テ ッ プ S T 1 9の 処 理 で 最 大 の レ ベ ル 値 D m a が 得 ら れ る 画 素 の 位 置 を 示 す マ ー ク 3 2が 入 力 画 像 に 重 ね 合 わ せ て 表 示 さ れ て い る 。
検 査 結 果 の 表 示 例 は 上 記 に 限 ら ず , 線 分 画 像 そ の も の を 表 示 す る よ う に し て も よ く , ま た 第 1 3 a 図 , 第 1 3 b 図 す よ う な 画 像 , エ ッ ジ 画 像 , E i ( X , y ) > E を 満 た す 画 素 に よ る 画 像 , 線 分 画 像 な ど を 適 宜 切 り 換 え て 表 示 し て , 検 査 の 過 程 を 確 認 で き る よ う に し て も よ い 。
た 上 記 実 施 例 で は , は ん だ ボ ー ル 毎 に 検 査 領 域 を 設 定 し て い る が , こ れ に 限 ら ず , 画 像 上 の す ベ て の は ん だ ボ 一 ル を 含 む よ う に 検 査 領 域 を 設 定 し て も よ い 。 こ の ·¾7 口 , 検 査 領 域 内 の 画 像 デ ー タ に つ い て , 第 1 2 a 図 の ス テ ッ プ S T 4 〜 S T 1 0と 同 様 の 処 理 を 一 度 実 行 し た 後 , し ぎ い 値 D L Bを 超 え る レ ベ ル 値 を 有 す る 画 素 を 検 索 し , そ の 画 素 の 位 置 を 各 は ん だ ボ ー ル の 配 置 位 置 と 照 合 す る こ と に よ り , ボ イ ド を 有 す る は ん だ ボ ー ル を す る こ と が で き る 。
た 上 記 の 実 施 例 で は , 検 出 対 象 の ボ イ ド の 輝 度 レ ベ ノレ が 周 囲 の 輝 度 レ ベ ル よ り も 低 く な る た め , 各 線 分 を ボ ィ ド の 内 側 に 向 か っ て 設 定 し て い る が , は ん だ ボ ― ル の よ う に 周 囲 よ り も 高 い 輝 度 レ ベ ル を 有 す る 対 象 物 を 検 出 対 象 と す る 場 合 に は , 線 分 を 外 方 に 向 か っ て 設 定 す る 必 要 が あ る 。
さ ら に 勾 配 算 出 処 理 の 誤 差 な ど に よ る 影 響 を 考 慮 し て , 線 分 を 設 定 す べ き 方 向 に 加 え て , そ の 方 向 か ら 土 2 度 の 方 向 に も 線 分 を 引 き , 合 計 3 本 の 線 分 を 設 定 す る よ う に す れ ば , 対 象 物 の 検 出 精 度 を さ ら に 向 上 さ せ る こ と が で き る 。
上 記 実 施 例 で は , は ん だ ボ ー ル の X 線 透 過 画 像 に 基 づ い て 内 部 の ボ イ ド の 有 無 を 検 査 し て い る が , 基 板 を 通 常 の 照 明 下 で 撮 像 し た 画 像 を 用 い て は ん だ 表 面 の ピ ン ホ ー ル の 有 無 を 検 出 す る 場 合 に も , 上 記 と 同 じ 方 法 を 適 用 す る こ と が で き る 。
さ ら に 検 査 対 象 は 円 形 状 の も の に 限 ら な い 。 た と え ば 輪 郭 形 状 の 一 部 の み が 円 弧 の 形 状 を と る よ う な 対 象 物 に つ い て , 上 記 実 施 例 と 同 様 の 方 法 で 線 分 を 設 定 す る と , 生 成 さ れ る 線 分 が 円 弧 の 中 心 位 置 付 近 で 重 な り 合 う よ う に な る 。 ま た , 物 品 の 角 を 丸 く 面 取 り す る 場 合 に , 面 取 り 半 径 の 公 差 の 最 小 値 を d , 最 大 値 を D と し て 上 述 し た 処 理 を 行 な う と , 面 取 り 半 径 が 公 差 内 で あ る 場 合 だ け 線 分 の 密 集 が 発 生 す る の で , 面 取 り 半 径 の 検 査 を 簡 単 に 行 う こ と が で き る 。
ま た 上 記 実 施 例 の 画 像 処 理 装 置 に よ れ ば , 矩 形 状 の 輪 郭 を 有 す る 対 象 物 や , 角 を 有 す る 対 象 物 を 抽 出 す る こ と も 可 能 で あ る 。 こ の 場 合 に は , 第 2 b 図 に 示 す よ う に , レ ベ ル 勾 配 の 方 向 に 垂 直 な 2 方 向 を 向 く 線 分 を 生 成 す る こ と に よ り , 線 分 の 交 点 を 角 の 位 置 と し て 抽 出 す る こ と に な る 。 し た が っ て 方 向 の 特 定 が 可 能 な 形 状 の も の を 処 理 対 象 物 と す る 場 合 , こ の 処 理 結 果 に よ り , 対 象 物 の 位 置 の み な ら ず , 対 象 物 が い ず れ の 方 向 を 向 い て 位 置 し て い る か も 確 認 す る こ と が 可 能 と な る 第 14図 は , 十 字 型 の 輪 郭 形 状 を 有 す る 対 象 物 の グ レ ィ · レ ベ ル 画 像 の 例 を 示 す も の で , 対 象 物 の 画 像 は 背 景 の 画 像 よ り も 高 い 輝 度 レ ベ ル を も っ て 現 れ て い る 。
第 15図 は , 第 14図 に 示 す 対 象 物 の 輪 郭 の 部 分 で 算 出 さ れ る レ ベ ル 勾 配 の 方 向 を 示 す も の で , レ ベ ル 勾 配 の 方 向 は 各 辺 に 垂 直 で 背 景 に 向 か う 。
第 16図 は , 第 5 図 の 画 像 処 理 装 置 に 第 14図 の グ レ イ • レ ベ ル 画 像 を 入 力 し て , 対 象 物 の 位 置 や 傾 き を 計 測 す る 手 順 を 示 す 。 画 像 処 理 装 置 に は , 対 象 物 を 通 常 の 照 明 下 で 撮 像 し て 得 ら れ た 画 像 デ 一 夕 が 供 給 さ れ る 。
ま ず ス テ ッ プ S T 30で , カ メ ラ か ら の 画 像 デ ー タ が 入 力 さ れ る と , C P U 7 は , 第 12 a 図 の 手 順 と 同 様 に , 画 像 上 で の 検 査 領 域 の 指 定 を 受 け , 指 定 さ れ た 領 域 の 左 上 , 右 下 の 各 頂 点 位 置 の 座 標 ( X i , y ) , ( X y ) を 取 り 込 み , 検 査 領 域 の 設 定 位 置 と し て 認 識 す る ( ス テ ッ プ ST31 ) 。 C P U 7 は , つ ぎ の ス テ ツ プ ST32で , 線 分 画 像 メ モ リ 5 の 各 画 素 の エ リ ア を タ リ ァ し , そ の 後 , 検 査 領 域 内 の 各 画 素 に 順 次 着 目 し , 各 画 素 毎 に ス テ ッ プ ST34〜 ST43の 処 理 を 実 行 す る 。
上 記 ル ー プ に お い て , C P U 7 は , 第 12 a 図 , 第 12 b 図 の 手 順 と 同 様 に , 着 目 画 素 g ( X , y ) の X , Y 方 向 の 濃 度 勾 配 d x ( X , y ) , d y ( x , y ) を 算 出 す る 。 各 画 素 に つ い て , そ れ ぞ れ レ ベ ル 勾 配 の 方 向 E c ( X , y ) お よ び レ ベ ル 勾 配 の 大 き さ E i ( X , y ) を 算 出 す る ( ス テ ッ プ ST34〜 ST36 ) 。 算 出 し た レ ベ ル 勾 配 の 大 き さ E i ( , y ) が し き い 値 E i B よ り も 大 き け れ ば ( ス テ ッ プ S T 37 ) , ス テ ッ プ S T 38で , 検 出 さ れ た レ ベ ル 勾 配 の 方 向 E c ( X , y ) に 対 し , 反 時 計 回 り に 90度 の 角 度 を な す 方 向 に 沿 っ て 第 1 の 線 分 を 設 定 し , さ ら に ス テ ッ プ ST39で , こ の 第 1 の 線 分 と 反 対 の 方 向 , す な わ ち 上 記 レ ベ ル 勾 配 の 方 向 E c ( X , y ) に 対 し , 反 時 計 回 り に 270度 の 角 度 を な す 方 向 に 沿 っ て 第 2 の 線 分 を 設 定 す る 。
こ の ス テ ッ プ ST38, ST39に お け る 各 ラ イ ン の 設 定 処 理 は , い ず れ も 前 記 第 12 a 図 の ス テ ッ プ ST8 〜 ST 10に 示 し た の と 同 様 の 手 順 に よ り 行 わ れ る 。
検 査 領 域 内 の す べ て の 画 素 に 対 す る 処 理 が 完 了 す る と ( ス テ ッ プ ST40〜 ST43 ) , C P U 7 は , 線 分 画 像 メ モ リ 5 内 の 各 画 素 の レ ベ ル 値 を チ ヱ ッ ク し , 検 査 領 域 内 に お い て 所 定 の し き い 値 D t h以 上 の レ ベ ル 値 を と る 画 素 を 抽 出 す る ( ス テ ッ プ ST44 ) 。 第 14図 に 示 す グ レ イ · レ ベ ル 画 像 上 の 対 象 物 に つ い て , そ の レ ベ ル 勾 配 の 方 向 に 垂 直 な 2 方 向 に 沿 っ て 線 分 を 設 定 す る と , 第 17図 に 示 す よ う に , 対 象 物 の 輪 郭 を 構 成 す る 各 辺 の 長 さ 方 向 に 沿 っ て , 線 分 が 重 な り 合 う 線 分 画 像 が 生 成 さ れ る 。 こ の 場 合 , 各 方 向 の 線 分 に よ り 形 成 さ れ る 16個 の 交 点 の う ち , 対 象 物 の 角 に 対 応 す る 12の 交 点 ( 図 中 · 印 で 示 す ) に お い て 最 も 多 く の ラ イ ン が 集 中 す る か ら , こ れ ら の 交 点 に お い て 得 ら れ る レ ベ ル 値 と , 他 の 交 点 ( 図 中 X 印 で 示 す ) に お い て 得 ら れ る レ ベ ル 値 と の 間 に 前 記 し き い 値 D t hを 設 定 す る こ と に よ り , 前 記 ス テ ッ プ ST44に お い て , 対 象 物 の 角 に 相 当 す る 画 素 を 検 出 す る こ と 力 で き る 。
こ の よ う に し て 対 象 物 の 角 に 相 当 す る 画 素 が 検 出 さ れ る と , つ ぎ の ス テ ッ プ ST45で , C P U 7 は , 各 検 出 位 置 の 座 標 を 用 い て , 重 心 な ど 対 象 物 の 位 置 を 表 わ す 代 表 点 の 座 標 を 算 出 す る と と も に , 検 出 位 置 の 位 置 関 係 か ら 対 象 物 の 主 軸 ( 2 軸 あ る ) を 特 定 し て , そ の 軸 方 向 が い ず れ の 向 き を 向 い て い か を 算 出 す る 。
こ の 後 , 上 記 算 出 結 果 を モ ニ タ 表 示 装 置 13な ど へ 出 力 し た り , 算 出 結 果 か ら 画 像 の 位 置 ず れ や 回 転 ず れ を 認 識 し て , 対 象 物 の 詳 細 な 認 識 処 理 を 実 施 す る な ど , 目 的 に 応 じ た 処 理 が 実 施 さ れ る 。
第 12 a 図 , 第 12 b 図 , 第 16図 に 示 す 処 理 は , い ず れ も カ メ ラ に よ り 生 成 さ れ た 画 像 を 画 像 処 理 装 置 内 に 直 接 取 り 込 ん で 処 理 す る よ う に し て い る が , こ れ に 限 ら ず , 離 れ た 場 所 で 生 成 さ れ た デ ィ ジ タ ル 画 像 デ ー タ を I / 0 ポ ー ト 1 4を 介 し て 入 力 し て , 処 理 す る こ と も 可 能 で あ る 。
第 1 2 a 図 , 第 1 2 b 図 , 第 1 6図 に 示 す 処 理 は , い ず れ も ノヽ 一 ド デ ィ ス ク 1 0に ィ ン ス ト ー ル さ れ た 制 御 プ ロ グ 路れす置向えをま夕さ, yレリ
ラ ム に 基 づ き C P U 7 に よ り 実 行 さ れ る が , こ の う ち れ画ベたの }ををるを,とら 5
一 部 の 処 理 を , ノ、 一 ド ウ エ ア 像順。他ル示具のはたるに,レレ よ り 実 施 す る よ う に す れ ば , C P U 7 の 負 担 を 減 ら し て , 処 理 を さ ら に 高 速 化 す る こ と が で き る 。
第 1 8図 は , 画 像 処 理 装 の 構 成 例 を 示 す も の で , 第 5 図 に 示 す 構 成 に カロ ベ ル 勾 配 計 測 部 2 5お よ び 重 な り 抽 出 部 2 6が 付 加 構 成 を と る 。
レ ベ ル 勾 配 計 測 部 2 5は メ モ リ 3 に 格 納 さ れ た 入 力 画 像 上 の 各 画 素 デ ー 次 取 り 込 ん で X , Y 方 向 レ ベ ル 勾 配 d ( X , d y ( X , y ) を 算 出 す る 微 分 処 理 回 路 や , こ ベ ル 勾 配 d X ( , y ) , d y ( X , y ) か ら 勾 配 の 大 き さ E i ( x , ) ゃ レ べ ル 勾 配 の 方 す 角 度 E c ( x , y ) を 算 出 す る た め の 演 算 回 備 す る 。 ま た 重 な り 抽 出 部 2 6は , 線 分 画 像 メ モ 各 画 素 を 順 次 取 り 込 ん で , 輝 度 レ べ ル の 最 大 値 画 素 を 抽 出 し た り , そ の 最 大 値 を し き い 値 D B L し き い 値 D t h と 比 較 す る た め の 回 路 構 成 を 具 備
Sff 牽 Q ェ 4 >1 一 、 ¾ s ¾ ¾^ ^ ω奪 画 ^ ( Ύ c
Figure imgf000048_0001
謝 ω 喜 ¾ s ¾ 画
2 · 3? ¾ ¾ S ¾ 1 ω 靱 ^ 墨 ¾ ' ¾ 「ι余 ⑦ 继 * 呦 專
U ' i 沓 ¾ ¾ ω ' 再 $ ¾ ^ Ci ¾ 堇 ω 專 画
^ m ' 再 ί» 92 « ¾ 蓽 ' ? ?: ^ 丄
¾ ¾^ ¾ ^ ¾f © 2 i n ar ° § ¾ ^ ¾ 翳 ::) ^
二) ^ ¾ ω 呦 專 4 ¾ ¾ ' 2. i rj HI ¾ i ^ © Τ γ-τ ^ ¥ © ¾ ^ ' 鴛 ' ¾ ω ¾ - ' っ ^ 鴛 ¾ ¾] ^ 0 21 ¾ ^ ^ $ ^ » 2 ¾ ^ ¾^
¾ 鎩 ¾ ^ S Z 腿 i 2厘 ^ ' ?! L Π d 0
9
S^8l0/66dr/X3d ZLWi OW

Claims

o
Θ i 躯 Q ΊΚ
術 K 画 1 ぐ 翻 Km; 画 Ί
1 Φ 画 3 鹈
IK Q ¾2 < 骡 m rutn 醉 m 画
H 画 ト J m ヽ til
¾r ±1 画 Q へ 困 骡
'·/
ぐ Hf Θ 'く Θ ヽ Q
ten ■v iH 醵 Θ
±1 ¾ ft itiin o m_ ¾ X ft 上
Sis Si , ·
ffi1 V 画 t
Q el Q Θ i つ
0 ¾ ru
リ M mid 鹏 1 m 画 ra ■H
> j j IK & Θ , J
1 •n: 画 Θ 画 ト Θ Hffl 卟
•(ς 画 ru
1 Θ ¾
■Φ 1 骡 Q Ί り 州
τ
画 画 AJ Hi 画 • r 翻 & t— \
Θ © 輕 画 骡 弒 お 画 ru m ra
1 ru m ra ra 叫 り 叫 m © 叫
Θ 叫 SI 1 m
^\ 画 1K Ή 寸 in 1 寸 CO
° 喜 ¾ S
¾ 專) 画 ω 漣 2 ::) ϊί τ ^ i j. ω ΐι 6 ¾ ¾ ^ Mr Τ ¾ Η ¾ ω ¾ II a. ' η D? ¾ ^ 一 ^ ^ 画 ^ m --ΐ ' 二) 一 幕 画 ^ n ¾ 、 っ ¾ 2g
25 ¾s ' ェ ) 挲 画 ¾ ' ) ¾ ΐ ¾ 2 奪 画 ^ f f SI T ΌΙ 喜 ¾ S W ¾ 画 © » 2 ϊι τ ^ - ^ ω 9 ^ ^ I I m ^
II ' 2 ^ 0· ® · ¾^ ^ 一 ; ^ 画 ^ 鹩 ω D - L ¾
¾ ¾ i Τ ίί ^i 1 m I ^ η ¾ ij ^ ^ ^ ¥ ω si ^
¾ Π W ¾ ® ΐ W ^ 21 2g Τ ' ?) ¾ ΐ ¾5ί ¾ ^ 鹩 2 T
G921 ί¾
CJ SI T - 6
° 裏 ¾ S ¾奪 画 » 2 ) Τ α ^ νΐ ω ΐι 9 ¾ ¾ ^ Mr τ ¾ Η ¾ ω * II ^ ¾ 一 ^ ^ 画 ^ c ¾ Ί ¾ i 5 ^ ¥ ω 21 ¾ ^ W $
¾ 0- Γΐ ¾ ^ ffi ^ 21 ¾ SI Τ ' S ΐ ¾9 ^ if ¾t 01 T
⑦ 0) 21 ¾ ニ} ¾1 ^ © 21 ¾ ^ ) ¾ ^ 鴛 ¾ ¾ EI T - 8
° m
S ¾奪 画 ω » 2 ϊι I α ^ ω ϊι 9 ¾ ¾ ^ Mi T M m ο ^ m £ ¾ ¾ . © ^ ¾ _^ w ¾ ^ # ¥ ® 21 Ί
' Di r) ¾J ^ 2M ¾ : 鴛 21 ¾ 21 T - L
。 喜 ¾ ¾ ^ ^ 画 ω ¾» 2 Mi T ^ n © ϊι ^ ¾ ¾ ^ ϊι ΐ ¾ Η ¾ ω * «ι ' ¾ ¾ i ω ^ ¾ ^ ¾^ ^ ¾
8^
S 0/66dfAL:>d OZS/66 OW
1 1 . 上 記 線 分 憶 手 段 は , 新 た な 線 分 画 像 デ ー タ を 加 算 処 理 す な く , 記 憶 す る も の で あ る , 請 求 の 範 囲 第 1 項 9 項 の い ず れ カゝ 1 項 に 記 載 の 画 像 範理離上記生のか生勾び,画かすにさる
処 理 装 置 。
成記装画請載処の成囲像配を,るらこら
1 2 . 上 記 線 分 像始求始第置設少手理算第手の記の,と 段 は , 処 理 単 位 の 位 置 か ら , 算 出 さ れ た レ べ ノレ 方 向 に 対 応 す る 方 向 に , 所 定 長 さ の 線 分 を 生 成 請 求 の 範 囲 第 1 項 か ら 第 1 1項 の い ず れ か 1 項 に 画 像 処 理 装 置 。
1 3 . 上 記 線 分 段 は , 処 理 単 位 の 位 置 か ら 始 点 ま で の g巨 ¾k あ よ 単 位 か ら 終 点 ま で の 距 離 が 与 え ら れ て い る と ぎ 出 さ れ た レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 に , 点 か ら 上 記 終 点 ま で の 線 分 を 生 成 す る , 請 求 の 1 項 か ら 第 1 1項 の い ず れ か 1 項 に 記 載 の 画 像 処
1 4 . 線 分 の 長 定 す る 手 段 を 備 え た , 請 求 の 範 囲 第 1 2項 に 記 載 処 理 装 置 。
1 5 . 処 理 単 位 点 ま で の 距 離 お よ び 処 理 単 位 か ら 終 点 ま で の g巨 な く と も い ず れ か 一 方 を 設 定 す る 手 段 を 備 え た の 範 囲 第 1 3項 に 記 載 の 画 像 処 理 装
1 6 . 上 記 線 分 画 像 記 憶 手 段 に 記 憶 さ れ た 線 分 画 像 デ ー 夕 に よ っ て 表 わ さ れ る 線 分 が 密 集 し て 存 在 す る 箇 所 を 検 出 す る 手 段 を さ ら に 備 え た , 請 求 の 範 囲 第 1 項 か ら 第 1 5項 の い ず れ か 1 項 に 記 載 の 画 像 処 理 装 置 。
1 7 . 上 記 線 分 画 像 記 憶 手 段 に 記 憶 さ れ た 線 分 画 像 デ ー 夕 · レ ベ ル の う ち 最 大 レ ベ ル を 示 す 画 素 の 位 置 を 検 出 す る 手 段 を さ ら に 備 え た , 請 求 の 範 囲 第 1 項 か ら 第 1 5 項 の い ず れ か 1 項 に 記 載 の 画 像 処 理 装 置 。
1 8 . 上 記 最 大 レ ベ ル が 所 与 の し き い 値 レ ベ ル を 超 え て レ、 る か ど う か を 判 定 す る 手 段 を さ ら に 備 え た , 請 求 の 範 囲 第 1 7項 に 記 載 の 画 像 処 理 装 置 。
1 9 . 画 像 デ ー タ を 生 成 し , 上 記 勾 配 算 出 手 段 に 与 え る カ メ ラ を 含 む 画 像 入 力 手 段 を 備 え た , 請 求 の 範 囲 第 1 項 か ら 第 1 8項 の い ず れ か 1 項 に 記 載 の 画 像 処 理 装 置 。 2 0 . 上 記 線 分 生 成 手 段 に よ っ て 生 成 さ れ た 線 分 画 像 デ 一 夕 ま た は 上 記 線 分 画 像 記 憶 手 段 に 記 憶 さ れ た 線 分 画 像 デ ー タ に よ っ て 表 わ さ れ る 線 分 画 像 を 表 示 す る 表 示 装 置 を さ ら に 備 え た , 請 求 の 範 囲 第 1 項 か ら 第 1 5項 お よ び 第 1 9項 の う ち の い ず れ か 1 項 に 記 載 の 画 像 処 理 装 置 。
2 1 . 上 記 表 示 装 置 は 上 記 所 与 の 画 像 デ ー タ に よ っ て 表 わ さ れ る 画 像 を 上 記 線 分 画 像 と 重 ね て 表 示 す る も の で あ る , 請 求 の 範 囲 第 2 0項 に 記 載 の 画 像 処 理 装 置 。
2 2 . 上 記 所 与 の 画 像 デ ー タ に よ っ て 表 わ さ れ る 画 像 の エ ッ ジ を 抽 出 す る 手 段 を さ ら に 備 え ,
上 記 表 示 装 置 は 抽 出 さ れ た エ ツ ジ に よ っ て 表 わ さ れ る 画 像 を 上 記 線 分 画 像 に 重 ね て 表 示 す る も の で あ る , 請 求 の 範 囲 第 2 0項 に 記 載 の 画 像 処 理 装 置 。
2 3 . 上 記 検 出 手 段 に よ つ て 検 出 さ れ た 密 集 箇 所 を 示 す マ ー ク を , 上 記 画 像 デ ー 夕 に よ っ て 表 わ さ れ る 画 像 に 重 ね て 表 示 す る 表 示 装 置 を 備 え た , 請 求 の 範 囲 第 1 6項 に 記 載 の 画 像 処 理 装 置 。
2 4 . 上 pD 出 手 段 に よ つ て 検 出 さ れ た 最 大 レ ベ ル を 示 す 画 素 の 位 置 に そ の 旨 を 示 す マ ー ク を , 上 記 画 像 デ ー 夕 に よ つ て 表 わ さ れ る 画 像 に 重 ね て 表 示 す る 表 示 装 置 を 備 え た , 請 求 の 範 囲 第 1 7項 に 記 載 の 画 像 処 理 装 置 。 2 5 . 上 記 判 定 手 段 に よ つ て し き い 値 を 超 え て い る と 判 定 さ れ た 最 大 レ ベ ル を 示 す 画 素 の 位 置 に , そ の 旨 を 示 す マ 一 ク を , 上 記 画 像 デ — 夕 に よ っ て 表 わ さ れ る 画 像 に 重 ね て 表 示 す る 表 示 装 置 を 備 え た , 請 求 の 範 囲 第 1 8 項 に 記 載 の 画 像 処 理 装 置
2 6 . 上 記 画 像 デ 一 夕 に よ つ て 表 わ さ れ る 画 像 の エ ッ ジ を 抽 出 す る 手 段 を 備 え ,
上 記 表 示 装 置 は 上 記 画 像 デ ー タ に よ っ て 表 わ さ れ る 画 像 に 加 え て , ま た は 代 え て , 上 記 エ ッ ジ 抽 出 手 段 に 抽 出 さ れ た ェ ッ ジ の 画 像 を 表 示 す る , 請 求 の 範 囲 第 2 3 項 か ら 第 2 5項 の い ず れ か 1 項 に 記 載 の 画 像 処 理 装 置 。
2 7 . 上 記 表 示 装 置 は 上 記 線 分 画 像 デ ー タ に よ っ て 表 わ さ れ る 線 分 画 像 を さ ら に 重 ね て 表 示 す る , 請 求 の 範 囲 第 2 6項 に 記 載 の 画 像 処 理 装 置 。
2 8 . 与 え ら れ た 画 像 デ ー 夕 に お い て , 処 理 単 位 の レ べ ル 勾 配 の 少 な く と も 方 向 を 算 出 し , 算 出 し た レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 を 持 つ 線 分 を 表 わ す 線 分 画 像 デ 一 夕 を 生 成 す る 画 像 処 理 手 段 , お よ び
上 記 画 像 処 理 手 段 に よ っ て 生 成 さ れ た 線 分 画 像 デ ー 夕 に よ っ て 表 わ さ れ る 線 分 画 像 を 表 示 す る 表 示 手 段 , を 備 え た 画 像 処 理 装 置 。
2 9 . 上 記 表 示 装 置 は 上 記 画 像 デ ー タ に よ っ て 表 わ さ れ る 画 像 を 上 記 線 分 画 像 に 重 ね て 表 示 す る , 請 求 の 範 囲 第 2 8項 に 記 載 の 画 像 処 理 装 置 。
3 0 . 上 記 画 像 デ 一 夕 に よ っ て 表 わ さ れ る 画 像 の エ ッ ジ を 抽 出 す る 手 段 を 備 え ,
上 記 表 示 装 置 は 上 記 画 像 デ ー タ に よ っ て 表 わ さ れ る 画 像 に 加 え て , ま た は 代 え て , 上 記 エ ッ ジ 抽 出 手 段 に 抽 出 さ れ た エ ッ ジ の 画 像 を 表 示 す る , 請 求 の 範 囲 第 2 9 項 に 記 載 の 画 像 処 理 装 置 。
3 1 . 複 数 の 画 素 を 含 み , 各 画 素 が レ ベ ル · デ ー タ を 持 つ , 所 与 の 画 像 デ 一 夕 に お い て , 処 理 単 位 の レ ベ ル 勾 配 の 少 な く と も 方 向 を 算 出 し ,
算 出 し た レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 と 所 与 の 長 さ と を 持 つ 線 分 を 表 わ す 線 分 画 像 デ ー タ を 生 成 し , 生 成 し た 線 分 画 像 デ 一 夕 を 記 憶 手 段 に 記 憶 さ せ る , 画 像 処 理 方 法 。
3 2 . 複 数 の 画 素 を 含 み , 各 画 素 が レ ベ ル · デ ー タ を 持 つ , 所 与 の 画 像 デ ー タ に お い て , 処 理 単 位 の レ ベ ル 勾 配 の 少 な く と も 方 向 を 算 出 し , 算 出 し た レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 と 所 与 の 長 さ と を 持 つ 線 分 を 表 わ す 線 分 画 像 デ ー タ を 生 成 し , 生 成 さ れ た 線 分 画 像 デ ー タ を 記 憶 手 段 に 記 憶 す る よ う に コ ン ビ ュ 一 夕 を 制 御 す る プ ロ グ ラ ム を 記 憶 し た 媒 体 。
3 3 . 与 え ら れ た 画 像 デ 一 夕 に お い て , 処 理 単 位 の レ べ ル 勾 配 の 少 な く と も 方 向 を 算 出 し , 算 出 し た レ ベ ル 勾 配 の 方 向 に 対 応 ず る 方 向 を 持 つ 線 分 を 表 わ す 線 分 画 像 デ ー タ を 生 成 し ,
生 成 し た 線 分 画 像 デ ー タ に よ っ て 表 わ さ れ る 線 分 画 像 を 表 示 装 置 に 表 示 す る ,
画 像 処 理 方 法 。
3 4 . 与 え ら れ た 画 像 デ ー タ に お い て , 処 理 単 位 の レ べ ル 勾 配 の 少 な く と も 方 向 を 算 出 し , 算 出 し た レ ベ ル 勾 配 の 方 向 に 対 応 ず る 方 向 を 持 つ 線 分 を 表 わ す 線 分 画 像 デ ー タ を 生 成 し ,
生 成 し た 線 分 画 像 デ ー タ に よ っ て 表 わ さ れ る 線 分 画 像 を 表 示 装 置 に 表 示 す る よ う に コ ン ピ ュ ー タ を 制 御 す る プ ロ グ ラ ム ¾ §己 し た 媒 体 。
3 5 . 与 え ら れ た 画 像 デ 一 夕 に お い て , レ ベ ル 勾 配 が 所 定 値 以 上 で あ る 複 数 の エ ッ ジ を 抽 出 す る 手 段 ,
抽 出 さ れ た ェ ッ ジ の 方 向 に 対 応 す る 方 向 に の び る 線 分 を 各 ェ ッ ジ に つ い て 設 定 す る 手 段 , お よ び
複 数 の 線 分 の 交 点 の 有 無 と そ の 位 置 を 検 出 す る 手 段 を 備 え た 画 像 処 理 装 置 。
3 6 . 線 分 の 方 向 が エ ツ ジ の 方 向 に 直 交 す る 方 向 ま た は エ ッ ジ の 方 向 と 同 じ 方 向 で あ る , 請 求 の 範 囲 第 3 5項 に 記 載 の 画 像 処 理 装 置 。
3 7 . 検 査 対 象 物 を 表 わ す 画 像 デ ー タ を 入 力 す る 画 像 入 力 手 段 ,
上 記 入 力 画 像 デ ー タ に お い て , 処 理 単 位 の レ ベ ル 勾 配 の 少 な く と も 方 向 を 算 出 し , 算 出 し た レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 を 持 つ 線 分 を 表 わ す 線 分 画 像 デ ー タ を 生 成 す る 手 段 , お よ び
生 成 さ れ た 線 分 画 像 デ ー タ に 基 づ い て , 線 分 画 像 が 密 集 ま た は 重 な っ た 箇 所 の 有 無 と 位 置 を 検 出 す る 手 段 を 備 え た 検 査 装 置 。
3 8 . 上 記 の レ ベ ル 勾 配 の 方 向 に 対 応 す る 方 向 が , レ べ ル 勾 配 の 方 向 ま た は レ ベ ル 勾 配 の 方 向 に 垂 直 な 方 向 で あ る , 請 求 の 範 囲 第 3 7項 に 記 載 の 検 査 装 置 。
3 9 . 上 記 線 分 画 像 デ ー タ に 基 づ い て , 線 分 画 像 を 表 示 す る 表 示 装 置 を 備 え て い る , 請 求 の 範 囲 第 3 7項 ま た は 第 3 8項 に 記 載 の 検 査 装 置 。
4 0 . 上 記 表 示 装 置 は 上 記 入 力 画 像 デ ー タ に よ っ て 表 わ さ れ る 対 象 物 の 画 像 を 線 分 画 像 に 重 ね て 表 示 す る も の で あ る , 請 求 の 範 囲 第 3 9項 に 記 載 の 検 査 装 置 。
4 1 . 検 出 さ れ た , 線 分 画 像 が 密 集 ま た は 重 な っ た 箇 所 の 位 置 を , 上 記 入 力 画 像 デ ー タ に よ っ て 表 わ さ れ る 対 象 物 の 画 像 ま た は 上 記 入 力 画 像 デ ー タ か ら 抽 出 さ れ た エ ッ ジ 画 像 上 に 表 示 す る 表 示 装 置 を 備 え た , 請 求 の 範 囲 第 3 7項 ま た は 第 3 8項 に 記 載 の 検 査 装 置 。
4 2 . 線 分 の 長 さ , ま た は 線 分 の 始 点 と 終 点 に 関 す る デ — 夕 を 入 力 す る 手 段 を さ ら に 備 え た , 請 求 の 範 囲 第 3 7 項 か ら 第 4 1項 の い ず れ か 1 項 に 記 載 の 検 査 装 置 。
PCT/JP1999/001845 1998-04-07 1999-04-07 Dispositif et procede de traitement d'images, support de stockage de programme pour traitement d'images, et dispositif d'inspection WO1999052072A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP99913568.4A EP0996091B1 (en) 1998-04-07 1999-04-07 Image processing device and method, medium on which program for image processing is stored, and inspecting device
JP55030399A JP3548748B2 (ja) 1998-04-07 1999-04-07 画像処理装置および方法、画像処理のためのプログラムを記憶した媒体、ならびに検査装置
US09/445,304 US7239740B1 (en) 1998-04-07 1999-07-04 Image processing apparatus and method, medium storing program for image processing, and inspection apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP10/112777 1998-04-07
JP11277798 1998-04-07

Publications (1)

Publication Number Publication Date
WO1999052072A1 true WO1999052072A1 (fr) 1999-10-14

Family

ID=14595248

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1999/001845 WO1999052072A1 (fr) 1998-04-07 1999-04-07 Dispositif et procede de traitement d'images, support de stockage de programme pour traitement d'images, et dispositif d'inspection

Country Status (5)

Country Link
US (1) US7239740B1 (ja)
EP (2) EP0996091B1 (ja)
JP (1) JP3548748B2 (ja)
KR (1) KR100361244B1 (ja)
WO (1) WO1999052072A1 (ja)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002049909A (ja) * 2000-08-03 2002-02-15 Namco Ltd パターン認識処理装置、方法および情報記憶媒体
JP2002303780A (ja) * 2001-04-04 2002-10-18 Ricoh Co Ltd 自動焦点制御装置
JP2008123035A (ja) * 2006-11-08 2008-05-29 Omron Corp 画像処理装置、画像の登録方法、画像の登録方法をコンピュータに実行させるためのプログラムおよびそのプログラムを記録した記録媒体
JP2009099042A (ja) * 2007-10-18 2009-05-07 Maeda Jun オブジェクト操作装置、及び、デジタル画像フレームデータからマーカを特定する方法
EP2312526A2 (en) 2009-10-01 2011-04-20 Fujitsu Limited Process and apparatus for image processing and computer-readable medium storing image processing program
CN102525381A (zh) * 2010-12-16 2012-07-04 奥林巴斯株式会社 图像处理装置、图像处理方法及计算机可读取的记录装置
JP2013500799A (ja) * 2009-08-04 2013-01-10 カール ツァイス メディテック アクチエンゲゼルシャフト 3d医用画像データの非線形投影

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007183999A (ja) * 1998-04-07 2007-07-19 Omron Corp 画像処理装置および方法,画像処理のためのプログラムを記憶した媒体,ならびに検査装置
US7352901B2 (en) 2000-10-23 2008-04-01 Omron Corporation Contour inspection method and apparatus
FI20031835A (fi) * 2003-12-15 2005-06-16 Instrumentarium Corp Menetelmä ja järjestelmä referenssimerkin paikantamiseksi digitaalisista projektiokuvista
TWI244334B (en) * 2004-05-07 2005-11-21 Quanta Comp Inc Apparatus and method for increasing the display gray level
JP2006098152A (ja) * 2004-09-29 2006-04-13 Dainippon Screen Mfg Co Ltd 欠陥検出装置および欠陥検出方法
JP4520880B2 (ja) * 2005-02-17 2010-08-11 富士フイルム株式会社 しみ検査方法及びしみ検査装置
KR100912128B1 (ko) * 2006-12-08 2009-08-13 한국전자통신연구원 수평선 추출 장치 및 방법
KR100886611B1 (ko) * 2007-08-14 2009-03-05 한국전자통신연구원 영상에서 점진적 화소 확장에 의한 선분 추출 방법 및 장치
WO2009071106A1 (en) * 2007-12-05 2009-06-11 MAX-PLANCK-Gesellschaft zur Förderung der Wissenschaften e.V. Image analysis method, image analysis system and uses thereof
US8036468B2 (en) * 2007-12-24 2011-10-11 Microsoft Corporation Invariant visual scene and object recognition
US8184898B2 (en) * 2009-03-31 2012-05-22 International Business Machines Corporation Analysis of leaded components
US20120162246A1 (en) * 2010-12-23 2012-06-28 Sap Portals Israel Ltd. Method and an apparatus for automatic capturing
KR101207887B1 (ko) * 2011-01-19 2012-12-04 서울시립대학교 산학협력단 가변 샘플 좌표를 사용하는 테라헤르츠 전자기파 이미징 방법 및 장치
US8942917B2 (en) 2011-02-14 2015-01-27 Microsoft Corporation Change invariant scene recognition by an agent
CN107209932A (zh) 2014-12-27 2017-09-26 希尔氏宠物营养品公司 食品加工方法与系统
US10937168B2 (en) * 2015-11-02 2021-03-02 Cognex Corporation System and method for finding and classifying lines in an image with a vision system
DE102016120775A1 (de) 2015-11-02 2017-05-04 Cognex Corporation System und Verfahren zum Erkennen von Linien in einem Bild mit einem Sichtsystem
WO2022250584A1 (en) * 2021-05-24 2022-12-01 Telefonaktiebolaget Lm Ericsson (Publ) A method and an electronic device for analysing an image
DE102022107886A1 (de) * 2022-04-01 2023-10-05 Gehring Technologies Gmbh + Co. Kg Verfahren und Vorrichtung zum Auswerten einer Schweißqualität einer Schweißnaht zwischen Endabschnitten von zwei Leiterelementen

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01102687A (ja) * 1987-10-15 1989-04-20 Nissan Motor Co Ltd 円検出装置
JPH0727096A (ja) * 1993-07-07 1995-01-27 Nippondenso Co Ltd 軸流ファン
JPH09229646A (ja) 1996-02-26 1997-09-05 Matsushita Electric Works Ltd 物体認識方法
JPH1047922A (ja) * 1996-07-31 1998-02-20 Aisin Seiki Co Ltd 路面上のレーン検出方法及び装置
JPH10260267A (ja) * 1997-03-18 1998-09-29 Nippon Telegr & Teleph Corp <Ntt> 局所雨域予測方法および装置

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0664611B2 (ja) 1986-07-11 1994-08-22 日産自動車株式会社 円および円弧の中心点検出方法
US4974261A (en) * 1988-11-15 1990-11-27 Matsushita Electric Works, Ltd. Optical surface inspection method
JPH03239902A (ja) 1990-02-19 1991-10-25 Nissan Motor Co Ltd 円形状抽出装置
US5142592A (en) * 1990-12-17 1992-08-25 Moler Keith E Method and apparatus for detection of parallel edges in image processing
US5093869A (en) * 1990-12-26 1992-03-03 Hughes Aircraft Company Pattern recognition apparatus utilizing area linking and region growth techniques
US6427030B1 (en) * 1994-08-03 2002-07-30 Xerox Corporation Method and system for image conversion utilizing dynamic error diffusion
JP3794502B2 (ja) * 1994-11-29 2006-07-05 ソニー株式会社 画像領域抽出方法及び画像領域抽出装置
JPH08193282A (ja) 1995-01-13 1996-07-30 Tokiko Yuki Kk 地下タンクの防食装置
JP3415700B2 (ja) 1995-03-31 2003-06-09 株式会社エム・シー・シー 閉領域抽出装置
JP3598651B2 (ja) * 1995-06-08 2004-12-08 オムロン株式会社 類似度算出装置及び方法ならびにこれを用いた位置検出装置
US6154566A (en) * 1996-05-15 2000-11-28 Omron Corporation Method and apparatus for determining image similarity and position
US6292582B1 (en) * 1996-05-31 2001-09-18 Lin Youling Method and system for identifying defects in a semiconductor
JP3330030B2 (ja) * 1996-09-30 2002-09-30 株式会社東芝 データ処理装置
US6408109B1 (en) * 1996-10-07 2002-06-18 Cognex Corporation Apparatus and method for detecting and sub-pixel location of edges in a digital image
US5926557A (en) * 1997-02-26 1999-07-20 Acuity Imaging, Llc Inspection method
US5903660A (en) * 1997-07-16 1999-05-11 The Regents Of The University Of California Automatic background recognition and removal (ABRR) in projection digital radiographic images (PDRI)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01102687A (ja) * 1987-10-15 1989-04-20 Nissan Motor Co Ltd 円検出装置
JPH0727096A (ja) * 1993-07-07 1995-01-27 Nippondenso Co Ltd 軸流ファン
JPH09229646A (ja) 1996-02-26 1997-09-05 Matsushita Electric Works Ltd 物体認識方法
JPH1047922A (ja) * 1996-07-31 1998-02-20 Aisin Seiki Co Ltd 路面上のレーン検出方法及び装置
JPH10260267A (ja) * 1997-03-18 1998-09-29 Nippon Telegr & Teleph Corp <Ntt> 局所雨域予測方法および装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
O'GORMAN: "Finding Picture Edges through Collinearity of Feature Points", IEEE TRANS. ON COMPUTERS, vol. C25, no. 4, April 1976 (1976-04-01), pages 449 - 456
See also references of EP0996091A4

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002049909A (ja) * 2000-08-03 2002-02-15 Namco Ltd パターン認識処理装置、方法および情報記憶媒体
JP2002303780A (ja) * 2001-04-04 2002-10-18 Ricoh Co Ltd 自動焦点制御装置
JP4629259B2 (ja) * 2001-04-04 2011-02-09 株式会社リコー 自動焦点制御装置
JP2008123035A (ja) * 2006-11-08 2008-05-29 Omron Corp 画像処理装置、画像の登録方法、画像の登録方法をコンピュータに実行させるためのプログラムおよびそのプログラムを記録した記録媒体
US8712164B2 (en) 2006-11-08 2014-04-29 Omron Corporation Image processing apparatus, image registering method, program causing computer to execute image registering method, and recording medium in which program is recorded
JP2009099042A (ja) * 2007-10-18 2009-05-07 Maeda Jun オブジェクト操作装置、及び、デジタル画像フレームデータからマーカを特定する方法
JP2013500799A (ja) * 2009-08-04 2013-01-10 カール ツァイス メディテック アクチエンゲゼルシャフト 3d医用画像データの非線形投影
US9105123B2 (en) 2009-08-04 2015-08-11 Carl Zeiss Meditec, Inc. Non-linear projections of 3-D medical imaging data
EP2312526A2 (en) 2009-10-01 2011-04-20 Fujitsu Limited Process and apparatus for image processing and computer-readable medium storing image processing program
CN102525381A (zh) * 2010-12-16 2012-07-04 奥林巴斯株式会社 图像处理装置、图像处理方法及计算机可读取的记录装置
CN102525381B (zh) * 2010-12-16 2016-08-03 奥林巴斯株式会社 图像处理装置、图像处理方法及计算机可读取的记录装置

Also Published As

Publication number Publication date
KR100361244B1 (ko) 2002-11-18
EP0996091A1 (en) 2000-04-26
EP2264671A1 (en) 2010-12-22
KR20010013521A (ko) 2001-02-26
EP0996091A4 (en) 2005-08-17
EP0996091B1 (en) 2015-12-30
US7239740B1 (en) 2007-07-03
JP3548748B2 (ja) 2004-07-28
EP2264671B1 (en) 2016-02-10

Similar Documents

Publication Publication Date Title
WO1999052072A1 (fr) Dispositif et procede de traitement d&#39;images, support de stockage de programme pour traitement d&#39;images, et dispositif d&#39;inspection
TWI619080B (zh) 指紋重疊區域面積的計算方法及電子裝置
US9521284B2 (en) Interactive user interface for capturing a document in an image signal
US9451132B2 (en) System for capturing a document in an image signal
US8363955B2 (en) Apparatus and method of image analysis
JP2007129709A (ja) イメージングデバイスをキャリブレートするための方法、イメージングデバイスの配列を含むイメージングシステムをキャリブレートするための方法およびイメージングシステム
CN108965839B (zh) 一种自动调整投影画面的方法及装置
CN110032964B (zh) 图像处理方法、识别视角的方法、装置、设备和存储介质
CN104079906B (zh) 图像处理装置、投影机及图像处理方法
US10810743B2 (en) Image processing device, image processing method, and computer program product
CN109738450A (zh) 笔记本键盘的检测方法和装置
US20200311403A1 (en) Tracking System and Method
KR101535435B1 (ko) 전자 악보 제공 시스템, 그 장치 및 그 방법
JP2018124918A (ja) 画像処理装置、画像処理方法及びプログラム
CN112419207A (zh) 一种图像矫正方法及装置、系统
JP5651659B2 (ja) 物体検出システムおよびプログラム
CN106796726A (zh) 运动检测方法和系统
JPS62232504A (ja) 位置検出装置
US10652436B2 (en) Image processing apparatus, image processing method, and storage medium
JP6789410B2 (ja) 画像処理装置、制御方法及び制御プログラム
WO2019117472A1 (ko) 아날로그 계기판의 측정값 인식 시스템 및 방법
JP2006047077A (ja) 画面の線欠陥の検出方法及び検出装置
JP2019100937A (ja) 欠陥検査装置及び欠陥検査方法
JP3963156B2 (ja) 画像処理装置および方法,画像処理のためのプログラムを記憶した媒体,ならびに検査装置
JPS6354680A (ja) 位置検出装置

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 09445304

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1019997011528

Country of ref document: KR

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1999913568

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1999913568

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1019997011528

Country of ref document: KR

WWG Wipo information: grant in national office

Ref document number: 1019997011528

Country of ref document: KR