US20130215263A1 - Image processing device and method of image processing - Google Patents
Image processing device and method of image processing Download PDFInfo
- Publication number
- US20130215263A1 US20130215263A1 US13/545,269 US201213545269A US2013215263A1 US 20130215263 A1 US20130215263 A1 US 20130215263A1 US 201213545269 A US201213545269 A US 201213545269A US 2013215263 A1 US2013215263 A1 US 2013215263A1
- Authority
- US
- United States
- Prior art keywords
- image
- images
- imaging unit
- control unit
- stage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
- 238000000034 method Methods 0.000 title claims description 14
- 238000003384 imaging method Methods 0.000 claims abstract description 75
- 239000002131 composite material Substances 0.000 claims abstract description 49
- 238000007373 indentation Methods 0.000 claims description 15
- 230000006835 compression Effects 0.000 claims description 6
- 238000007906 compression Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 2
- 239000000284 extract Substances 0.000 claims 4
- 238000005259 measurement Methods 0.000 claims 1
- 238000007542 hardness measurement Methods 0.000 description 21
- 238000005070 sampling Methods 0.000 description 9
- 230000008901 benefit Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N3/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N3/02—Details
- G01N3/06—Special adaptations of indicating or recording means
- G01N3/068—Special adaptations of indicating or recording means with optical indicating or recording means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N3/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N3/40—Investigating hardness or rebound hardness
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N3/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N3/40—Investigating hardness or rebound hardness
- G01N3/42—Investigating hardness or rebound hardness by performing impressions under a steady load by indentors, e.g. sphere, pyramid
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/02—Details not specific for a particular testing method
- G01N2203/06—Indicating or recording means; Sensing means
- G01N2203/0641—Indicating or recording means; Sensing means using optical, X-ray, ultraviolet, infrared or similar detectors
- G01N2203/0647—Image analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/02—Preprocessing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/08—Feature extraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
Definitions
- This invention relates to an image processing device employed in the likes of a hardness testing device and a method of image processing.
- a hardness testing device that measures hardness of a measuring object based on a shape of an indentation formed in a surface of the measuring object, is known (refer to JP 2010-190817 A and JP 2005-345117 A).
- the measuring object is disposed on a stage and a measured value of hardness of the measuring object is obtained using an image of the measuring object capable of being taken by an imaging device.
- the image shows only a region of part of the measuring object, an entire image showing the measuring object is necessary.
- a method that shifts the stage relatively in a certain direction to take a plurality of images and joins these plurality of images to generate a composite image, is known (refer to JP H08-313217 A).
- the present invention was made in view of such a problem and has an object of providing an image processing device and a method of image processing capable of generating a composite image having no discontinuity at a composite portion, easily and at low cost.
- An image processing device comprises: an imaging unit for taking an image of a measuring object; a stage configured to be mountable with the measuring object and to be shiftable relatively with respect to the imaging unit; and a control unit for shifting the imaging unit relatively with respect to the stage to take an image of the measuring object at a plurality of places by the imaging unit and thereby obtain a plurality of images, and for generating a composite image of the measuring object having a range which is wider than an imaging range of the imaging unit by combining the obtained plurality of images or images obtained by a certain processing from the obtained plurality of images, the control unit shifting the imaging unit relatively with respect to the stage such that parts of images adjacent to one another obtained by the imaging unit overlap, the control unit performing an image matching processing that performs image matching of an overlapped portion of the adjacent images, and the control unit generating the composite image of the measuring object by joining the adjacent images at a position where the image matching is performed in the image matching processing.
- FIG. 1 is a schematic view showing a hardness testing device according to a first embodiment.
- FIG. 2 is a block diagram showing a computer main body 21 according to the first embodiment.
- FIG. 3 is a schematic view showing misalignment of a coordinate system of an imaging unit 12 and a coordinate system of a stage 13 .
- FIG. 4 is a flowchart showing operation of the hardness testing device according to the first embodiment.
- FIG. 5 is a schematic view showing shifting of the stage 13 , imaging of a workpiece W, and image matching processing in steps S 101 , S 102 , and S 104 according to the first embodiment.
- FIG. 6 is a schematic view showing the image matching processing in S 104 according to the first embodiment.
- FIG. 7 is a schematic view showing the image matching processing in S 104 according to the first embodiment.
- FIG. 8 is a schematic view showing the image matching processing in S 104 according to the first embodiment.
- FIG. 9 is a schematic view showing calculation of a stage shifting amount in step S 105 according to the first embodiment.
- FIG. 10 is a schematic view showing a hardness testing machine 30 according to a second embodiment.
- FIG. 11 is a schematic view showing shifting of the stage 13 along an edge E of the workpiece W, and imaging of the workpiece W according to a third embodiment.
- FIG. 12 is a flowchart showing an edge tracking processing according to the third embodiment.
- FIG. 13 is a view showing a display screen according to the third embodiment.
- FIG. 14 is a view showing edge point detection in a window according to the third embodiment.
- FIG. 15 is a view showing a determining sequence of window positions according to the third embodiment.
- FIG. 1 is a schematic view showing a hardness testing device according to the present embodiment.
- the hardness testing device includes a hardness testing machine 10 and a computer system 20 for controlling the hardness testing machine 10 .
- the hardness testing device functions also as an image processing device for generating a composite image.
- the hardness testing machine 10 includes a support 11 , an imaging unit 12 , a stage 13 and a turret 14 .
- the support 11 has a C shape when viewed from an X direction (perpendicular direction to paper plane in FIG. 1 ).
- the imaging unit 12 is provided on an upper portion of the support 11 and takes an image of a workpiece W (measuring object) via a camera mount 15 .
- the imaging unit 12 is configured by, for example, a CCD camera or a CMOS camera.
- the stage 13 is provided on a lower side of the support 11 via a shifting mechanism 16 .
- the shifting mechanism 16 is configured such that the stage 13 is shiftable in an X axis direction, a Y axis direction, and a Z axis direction that are orthogonal to one another. That is, the shifting mechanism 16 is configured such that the imaging unit 12 is shiftable relatively with respect to the stage 13 .
- the shifting mechanism 16 is controlled by the computer system 20 to drive the stage 13 .
- the turret 14 is provided on an upper portion of the support 11 .
- the turret 14 is configured rotatable around a turret rotating shaft parallel to the Z axis, and includes on its lower side an indenter 17 and objective lenses 18 a and 18 b .
- the indenter 17 is for being pressed onto the workpiece W to make an indentation in a surface of the workpiece W.
- the objective lenses 18 a and 18 b are each for configuring an imaging optical system along with the imaging unit 12 . Rotation of the turret 14 allows the indenter 17 and the objective lenses 18 a and 18 b to be switchably disposed to a usage position.
- the computer system 20 includes a computer main body 21 , a display unit 22 which is a liquid crystal panel or the like, a keyboard 23 and a mouse 24 .
- the computer main body 21 includes, for example, a CPU 211 , a ROM 212 , a RAM 213 and a HDD 214 .
- the CPU 211 executes processing according to a macro-program stored in the ROM 212 and a program stored in the RAM 213 from the HDD 214 .
- the CPU 211 controls the imaging unit 12 , the shifting mechanism 16 and the display unit 22 according to the programs. In addition, the CPU 211 receives input information from the keyboard 23 and the mouse 24 .
- the present embodiment includes a coordinate system (x, y) of the imaging unit 12 and a coordinate system (X, Y) of the stage 13 .
- an axis x and an axis y are mutually orthogonal and are axes set in an image obtained by the imaging unit 12 .
- An axis X and an axis Y are mutually orthogonal and are directions in which the stage 13 is shiftable.
- the axis x and the axis y may also be axes set in an image obtained by the imaging unit 12 and that has undergone a certain processing.
- the coordinate system (X, Y) of the stage 13 has an angle e with the coordinate system (x, y) of the imaging unit 12 .
- an image is taken of the workpiece W while shifting the stage 13 by an amount of a certain distance in an X axis direction to obtain a plurality of images, and those plurality of images, while being displaced by an amount of a certain distance in an x axis direction, are joined to generate a composite image.
- that composite image becomes a discontinuous image different to the actual workpiece W.
- a composite image IMa is generated using a processing of the kind shown in FIG. 4 .
- control shown in FIG. 4 is executed by the CPU 211 .
- the stage 13 is shifted in a certain direction (S 101 ).
- an image is taken of the workpiece W by the imaging unit 12 to obtain an image IM(S 102 ).
- the image IM is displayed in the display unit 22 .
- step S 104 the composite image IMa is an image of the workpiece W having a range which is wider than a one-shot imaging range of the imaging unit 12 .
- step S 104 the composite image IMa is displayed in the display unit 22 .
- the composite image IMa may be configured capable of being printed by a printer. Then, shifting amounts ⁇ X and ⁇ Y of the stage 13 (stage shifting amounts) in the X axis and Y axis directions in which the stage 13 is shiftable are calculated based on the composite image IMa (S 105 ). Note that, as mentioned later, shifting of the imaging unit 12 is controlled based on these stage shifting amounts.
- an indentation position is set based on the composite image IMa (S 106 ). For example, a shape of the workpiece W is recognized from the composite image IMa, and the indentation position is disposed automatically from the shape of that workpiece. Alternatively, by using the keyboard 23 and the mouse 24 to designate any position on the composite image IMa displayed in the display unit 22 , the indentation position is disposed manually in that designated position.
- the indenter 17 is pressed onto the surface of the workpiece W to make an indentation in the disposed indentation position (S 107 ). Then, an image is taken of this indentation, and a hardness value calculated based on a shape (size) of the indentation (S 108 ). Then, this indentation position (coordinate value on the composite image) and the hardness value corresponding to that position are displayed in the display unit 22 (S 109 ).
- FIG. 5 shifting of the stage 13 , imaging of the workpiece W and the image matching processing in steps S 101 , S 102 and S 104 are described specifically with reference to FIG. 5 .
- an image of the image IM( 1 ) is taken by the imaging unit 12 .
- the stage 13 is shifted in parallel in the ⁇ X axis direction by an amount of a range which is slightly smaller than a size of the one-shot imaging range of the imaging unit, 12 in the X axis direction to take images of the images IM( 2 ) and IM( 3 ).
- the stage 13 is shifted in parallel in the +Y axis direction by an amount of a range which is slightly smaller than a size of the one-shot imaging range of the imaging unit 12 in the Y axis direction to take an image of the image IM( 4 ). Then, the stage 13 is shifted in parallel in the +X axis direction by an amount of a range which is slightly smaller than a size of the one-shot imaging range of the imaging unit 12 in the X axis direction to take images of the images IM( 5 ) and IM( 6 ). As a result, adjacent images IM( 1 )-IN( 6 ) are taken so as to include overlapping region images RIM( 1 )-RIM( 7 ) that overlap one another to configure a composite portion.
- image matching is performed to match patterns inside the overlapping region images RIM( 1 )-RIM( 7 ) (image matching processing).
- image matching processing is performed to match patterns inside the overlapping region images RIM( 1 )-RIM( 7 ) (image matching processing).
- the composite image IMa is generated by joining the adjacent images IM( 1 )-IM( 6 ) at a position where the image matching is performed in the image matching processing.
- These composite image IMa, images IM( 1 )-IM( 6 ), and overlapping region images RIM( 1 )-RIM( 7 ) are displayed in the display unit 22 .
- FIG. 6 shows an example where image matching is performed on the overlapping region images RIM( 1 ) and RIM( 2 ) of the images IM( 1 ) and IM( 2 ) to generate the composite image IMa.
- the overlapping region images RIM( 1 ) and RIM( 2 ) of the images IM( 1 ) and IM( 2 ) are extracted (S 1041 ).
- the overlapping region images RIM( 1 ) and RIM( 2 ) each undergo image compression by a thinning processing or the like to generate compressed images SRIM( 1 ) and SRIM( 2 ) (S 1042 ). Reducing a data amount subject to arithmetic processing in the image matching processing by this processing of step S 1042 makes it possible to reduce time required in the image matching processing that follows this processing of step S 1042 .
- the fellow data-compressed compressed images SRIM( 1 ) and SRIM( 2 ) undergo image matching (macro-matching) to calculate a misalignment amount between the images IM( 1 ) and IM( 2 ) (relative position between the compressed images) (S 1043 ).
- the two images IM( 1 ) and IM( 2 ) can be joined based on this misalignment amount to obtain the composite image IMa.
- a processing of the kind shown in FIG. 7 may be performed. That is, the overlapping region images RIM( 1 ) and RIM( 2 ) are each binarized into a region of high brightness and a region of low brightness based on a certain threshold value to generate binarized images BIM( 1 ) and BIM( 2 ).
- the fellow binarized images BIM( 1 ) and BIM( 2 ) undergo image matching (macro-matching) to calculate a misalignment amount between the images IM( 1 ) and IM( 2 ) (misalignment amount between the binarized images).
- the two images IM( 1 ) and IM( 2 ) can be joined based on this misalignment amount to obtain the composite image IMa.
- a processing of the kind shown in FIG. 8 may be performed. That is, edge images EIM( 1 ) and EIM( 2 ) are generated, the edge images EIM( 1 ) and EIM( 2 ) having an outline (edge) only of an image extracted from each of the overlapping region images RIM( 1 ) and RIM( 2 ). Next, the fellow edge images EIM( 1 ) and EIM( 2 ) undergo image matching (macro-matching) to calculate a misalignment amount between the images IM( 1 ) and IM( 2 ) (misalignment amount between the edge images).
- the two images IM( 1 ) and IM( 2 ) can be joined based on this misalignment amount to obtain the composite image IMa.
- image matching micro-matching
- FIG. 9 shows an example where the stage shifting amount in the X axis and Y axis directions in which the stage 13 is shiftable is calculated based on the misalignment amount between the image IM( 1 ) and the image IM( 2 ) in the composite image IMa.
- a coordinate system (X′, Y′) is set in the composite image IMa.
- An axis X′ and an axis Y′ in the coordinate system (X′, Y′) of the composite image are mutually orthogonal and are set parallel to the axis x and the axis y, respectively, in the coordinate system (x, y) of the imaging unit 12 .
- the coordinate system (X, Y) of the stage 13 is misaligned with the coordinate system (x, y) of the imaging unit 12 by an angle ⁇ , hence the coordinate system (X′, Y′) of the composite image IMa is also misaligned with the coordinate system (X, Y) of the stage 13 by the angle ⁇ .
- the misalignment amount of the image IM( 2 ) with respect to the image IM( 1 ) in the composite image IMa when the stage 13 is shifted by an amount of ⁇ X in the X axis direction is assumed to be ⁇ X′
- the misalignment amount in the Y axis direction is assumed to be ⁇ Y′.
- the stage shifting amounts ⁇ X and ⁇ Y are obtained with respect to these ⁇ X′ and ⁇ Y′ in view of the angle ⁇ .
- the present embodiment makes it possible to generate a composite image IMa having no discontinuity at a composite portion, easily and at low cost, without adjusting the coordinate system of the stage 13 and the coordinate system of the imaging unit 12 .
- the present embodiment also makes it possible to shift the stage 13 accurately based on the coordinate system of the composite image by calculating the stage shifting amount.
- the hardness testing device according to the second embodiment includes a hardness testing machine 30 different to that in the first embodiment.
- the second embodiment differs from the first embodiment in this point only, and is similar to the first embodiment regarding other configurations and operation.
- the hardness testing machine 30 includes a base 31 and a support 32 extending in a Z direction from the base 31 .
- a stage 33 shiftable in an X direction and a Y direction.
- the stage 33 is configured such that its upper surface is mountable with the workpiece W.
- a unit 34 shiftable in the Z direction.
- the unit 34 is provided with an imaging unit 35 and a turret 36 .
- the imaging unit 35 takes an image of the workpiece W mounted on the stage 33 .
- the turret 36 is provided at a lower end of the unit 34 , is configured rotatable around a turret rotating shaft parallel to the Z axis, and includes on its lower side an indenter 37 and objective lenses 38 a and 38 b for configuring an image optical system along with the imaging unit 35 . Similar advantages to those of the first embodiment are displayed, even with the above-described hardness testing machine 30 according to the second embodiment.
- the hardness testing device according to the third embodiment differs from that of the first embodiment in a method of shifting of the stage 13 only.
- an image of a designated region of the workpiece W is taken.
- an edge E of the workpiece W is tracked based on an image taken beforehand (edge tracking processing), and an image is taken of images IM( 1 )-IM( 4 ) along that edge E.
- the previously mentioned image matching is executed on those images IM( 1 )-IM( 4 ) to generate the composite image IMa.
- FIG. 12 is a flowchart showing the edge tracking processing
- FIG. 13 is a view for explaining this processing and shows image information 41 indicating a part of the workpiece W displayed in the display unit 22 .
- the image information 41 shown in FIG. 13 includes an edge 42 which is attempting to be tracked. Therefore, first, the mouse 24 and so on are operated to set an initial position of a rectangular window 43 indicating a measuring region so as to include a part of the edge 42 inside the window 43 ( FIG. 12 , S 201 ). For example, as shown in FIG.
- the window 43 is designated by the likes of an operation that sets four corners A, B, C, and D of the window 43 by click operation of the mouse 24 , or an operation that, after designating two points at opposing corner directions of the rectangle, inclines that rectangular region at any angle to shift the rectangular region by a drag operation. Note that, at this time, a direction for tracking along the edge 42 is also designated.
- FIG. 14 shows details of this sampling. An interval of sampling of the edge points shown in FIG. 14 is set previously.
- multi-value image information of an address indicated by x and y coordinates is extracted, from a start point A(x a , y a ) to an end point B (x b , y b ), while changing an x coordinate cos ⁇ at a time [where ⁇ is an inclination of the window 43 ] and a y coordinate sin ⁇ at a time.
- An appropriate threshold level is set from the obtained multi-value point sequence data, and sampling is performed, the sampling setting a point where this threshold level and the point sequence data intersect as an edge point.
- the start point and the end point are shifted by amounts of ⁇ sin ⁇ and ⁇ cos ⁇ , respectively, and similar sampling is executed.
- an approximate line is fitted to sampling values of the obtained plurality of edge points 44 by, for example, a method of least squares ( FIG. 12 , S 203 ).
- a next window 43 ′ is determined so as to conform with this approximate line L ( FIG. 12 , S 204 ).
- a perpendicular line is dropped to the approximate line L from an edge point 43 a nearest to an edge in the shifting direction of the window 43 obtained by the present window 43 , then a point P 1 and a point P 2 are obtained, the point P 1 being separated from a crossing point of the perpendicular line and the approximate line L by an amount of H ⁇ m/100 (where H is a height of the window and m is a previously set duplication rate (%)) along the approximate line L in an opposite direction to the shifting direction of the window 43 , and the point P 2 being separated from the point P 1 by an amount of H in the shifting direction of the window 43 .
- points that are on lines orthogonal to the approximate line L at each of points P 1 and P 2 and that are each separated from the approximate line L by an amount of W/2 are set as points A′, B′, C′, and D′ at four corners of a new window 43 ′.
- W is a width of the window
- the window 43 is shifted sequentially while performing sampling of edge points and fitting of an approximate line in the window 43 ′ similarly to as previously mentioned. Then, when the edge to be tracked is all tracked, the processing is completed ( FIG. 12 , S 205 ).
- disposition of the indentation position may also be based on the likes of CAD data or shape data of a workpiece of a profile measuring instrument.
- shifting of the stages 13 and 33 , and the unit 34 may also be performed manually.
- an image of that designated position may also be taken by the imaging unit 12 .
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Image Processing (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Image Analysis (AREA)
- Apparatus For Radiation Diagnosis (AREA)
Abstract
A control unit shifts an imaging unit relatively with respect to a stage to take an image of a measuring object at a plurality of places by the imaging unit and thereby obtain a plurality of images, and generates a composite image of the measuring object having a range which is wider than an imaging range of the imaging unit by combining the plurality of images. The control unit shifts the imaging unit relatively with respect to the stage such that parts of images adjacent to one another obtained by the imaging unit overlap, and performs an image matching processing that performs image matching of an overlapped portion of the adjacent images. The control unit generates the composite image of the measuring object by joining the adjacent images at a position where the image matching is performed in the image matching processing.
Description
- This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2012-34779, filed on Feb. 21, 2012, the entire contents of which are incorporated herein by reference.
- 1. Field of the Invention
- This invention relates to an image processing device employed in the likes of a hardness testing device and a method of image processing.
- 2. Description of the Related Art
- A hardness testing device that measures hardness of a measuring object based on a shape of an indentation formed in a surface of the measuring object, is known (refer to JP 2010-190817 A and JP 2005-345117 A). In this hardness testing device, the measuring object is disposed on a stage and a measured value of hardness of the measuring object is obtained using an image of the measuring object capable of being taken by an imaging device. When the image shows only a region of part of the measuring object, an entire image showing the measuring object is necessary. Thus, conventionally, a method that shifts the stage relatively in a certain direction to take a plurality of images and joins these plurality of images to generate a composite image, is known (refer to JP H08-313217 A).
- However, in the above-described method for generating a composite image, if directions of coordinate axes of the image and directions of coordinate axes of the stage are not in parallel, then in a portion where the image is joined, the composite image becomes discontinuous and errors are generated in coordinate values of the image in a coordinate system of the stage. This problem is solved if an attitude of the imaging device is physically adjusted such that directions of the coordinate axes of the image and the coordinate axes of the stage are matched. However, that adjustment is laborious and adjustment costs are also required.
- The present invention was made in view of such a problem and has an object of providing an image processing device and a method of image processing capable of generating a composite image having no discontinuity at a composite portion, easily and at low cost.
- An image processing device according to the present invention comprises: an imaging unit for taking an image of a measuring object; a stage configured to be mountable with the measuring object and to be shiftable relatively with respect to the imaging unit; and a control unit for shifting the imaging unit relatively with respect to the stage to take an image of the measuring object at a plurality of places by the imaging unit and thereby obtain a plurality of images, and for generating a composite image of the measuring object having a range which is wider than an imaging range of the imaging unit by combining the obtained plurality of images or images obtained by a certain processing from the obtained plurality of images, the control unit shifting the imaging unit relatively with respect to the stage such that parts of images adjacent to one another obtained by the imaging unit overlap, the control unit performing an image matching processing that performs image matching of an overlapped portion of the adjacent images, and the control unit generating the composite image of the measuring object by joining the adjacent images at a position where the image matching is performed in the image matching processing.
-
FIG. 1 is a schematic view showing a hardness testing device according to a first embodiment. -
FIG. 2 is a block diagram showing a computermain body 21 according to the first embodiment. -
FIG. 3 is a schematic view showing misalignment of a coordinate system of animaging unit 12 and a coordinate system of astage 13. -
FIG. 4 is a flowchart showing operation of the hardness testing device according to the first embodiment. -
FIG. 5 is a schematic view showing shifting of thestage 13, imaging of a workpiece W, and image matching processing in steps S101, S102, and S104 according to the first embodiment. -
FIG. 6 is a schematic view showing the image matching processing in S104 according to the first embodiment. -
FIG. 7 is a schematic view showing the image matching processing in S104 according to the first embodiment. -
FIG. 8 is a schematic view showing the image matching processing in S104 according to the first embodiment. -
FIG. 9 is a schematic view showing calculation of a stage shifting amount in step S105 according to the first embodiment. -
FIG. 10 is a schematic view showing ahardness testing machine 30 according to a second embodiment. -
FIG. 11 is a schematic view showing shifting of thestage 13 along an edge E of the workpiece W, and imaging of the workpiece W according to a third embodiment. -
FIG. 12 is a flowchart showing an edge tracking processing according to the third embodiment. -
FIG. 13 is a view showing a display screen according to the third embodiment. -
FIG. 14 is a view showing edge point detection in a window according to the third embodiment. -
FIG. 15 is a view showing a determining sequence of window positions according to the third embodiment. - Next, embodiments of the present invention are described in detail with reference to the drawings.
-
FIG. 1 is a schematic view showing a hardness testing device according to the present embodiment. As shown inFIG. 1 , the hardness testing device includes ahardness testing machine 10 and acomputer system 20 for controlling thehardness testing machine 10. Note that in the present embodiment, the hardness testing device functions also as an image processing device for generating a composite image. - The
hardness testing machine 10 includes asupport 11, animaging unit 12, astage 13 and aturret 14. Thesupport 11 has a C shape when viewed from an X direction (perpendicular direction to paper plane inFIG. 1 ). Theimaging unit 12 is provided on an upper portion of thesupport 11 and takes an image of a workpiece W (measuring object) via acamera mount 15. Theimaging unit 12 is configured by, for example, a CCD camera or a CMOS camera. - The
stage 13 is provided on a lower side of thesupport 11 via ashifting mechanism 16. Theshifting mechanism 16 is configured such that thestage 13 is shiftable in an X axis direction, a Y axis direction, and a Z axis direction that are orthogonal to one another. That is, theshifting mechanism 16 is configured such that theimaging unit 12 is shiftable relatively with respect to thestage 13. Theshifting mechanism 16 is controlled by thecomputer system 20 to drive thestage 13. - The
turret 14 is provided on an upper portion of thesupport 11. Theturret 14 is configured rotatable around a turret rotating shaft parallel to the Z axis, and includes on its lower side anindenter 17 andobjective lenses indenter 17 is for being pressed onto the workpiece W to make an indentation in a surface of the workpiece W. Theobjective lenses imaging unit 12. Rotation of theturret 14 allows theindenter 17 and theobjective lenses - The
computer system 20 includes a computermain body 21, adisplay unit 22 which is a liquid crystal panel or the like, akeyboard 23 and amouse 24. As shown inFIG. 2 , the computermain body 21 includes, for example, aCPU 211, aROM 212, aRAM 213 and aHDD 214. TheCPU 211 executes processing according to a macro-program stored in theROM 212 and a program stored in theRAM 213 from theHDD 214. TheCPU 211 controls theimaging unit 12, theshifting mechanism 16 and thedisplay unit 22 according to the programs. In addition, theCPU 211 receives input information from thekeyboard 23 and themouse 24. - Next, a coordinate system of the hardness testing device according to the present embodiment is described with reference to
FIG. 3 . As shown inFIG. 3 , the present embodiment includes a coordinate system (x, y) of theimaging unit 12 and a coordinate system (X, Y) of thestage 13. Now, an axis x and an axis y are mutually orthogonal and are axes set in an image obtained by theimaging unit 12. An axis X and an axis Y are mutually orthogonal and are directions in which thestage 13 is shiftable. Note that the axis x and the axis y may also be axes set in an image obtained by theimaging unit 12 and that has undergone a certain processing. - As shown in
FIG. 3 , the coordinate system (X, Y) of thestage 13 has an angle e with the coordinate system (x, y) of theimaging unit 12. Now, for example, an image is taken of the workpiece W while shifting thestage 13 by an amount of a certain distance in an X axis direction to obtain a plurality of images, and those plurality of images, while being displaced by an amount of a certain distance in an x axis direction, are joined to generate a composite image. However, in this method, due to misalignment by the angle θ, that composite image becomes a discontinuous image different to the actual workpiece W. As a result, there is a problem that, when an indentation position is disposed on this composite image and an indentation made in the workpiece W, it sometimes occurs that the position is misaligned, and hardness testing of a targeted place may not necessarily be performed. - Therefore, in the present embodiment, a composite image IMa is generated using a processing of the kind shown in
FIG. 4 . Note that control shown inFIG. 4 is executed by theCPU 211. As shown inFIG. 4 , first, thestage 13 is shifted in a certain direction (S101). Next, an image is taken of the workpiece W by theimaging unit 12 to obtain an image IM(S102). In step S102, the image IM is displayed in thedisplay unit 22. Then, it is judged whether a certain number of images IM(1)-IM(n) have been taken or not (S103). Now, if it is judged that the images IM(1)-IM(n) have not been taken (S103, No), then processing is executed again from step S101. On the other hand, if it is judged that the images IM(1)-IM(n) have been taken (S103, Yes), then the images IM(1)-IM(n) are joined by an image matching processing mentioned later to generate the composite image IMa (S104). Now, the composite image IMa is an image of the workpiece W having a range which is wider than a one-shot imaging range of theimaging unit 12. In step S104, the composite image IMa is displayed in thedisplay unit 22. Note that the composite image IMa may be configured capable of being printed by a printer. Then, shifting amounts ΔX and ΔY of the stage 13 (stage shifting amounts) in the X axis and Y axis directions in which thestage 13 is shiftable are calculated based on the composite image IMa (S105). Note that, as mentioned later, shifting of theimaging unit 12 is controlled based on these stage shifting amounts. - Subsequent to step S105, an indentation position is set based on the composite image IMa (S106). For example, a shape of the workpiece W is recognized from the composite image IMa, and the indentation position is disposed automatically from the shape of that workpiece. Alternatively, by using the
keyboard 23 and themouse 24 to designate any position on the composite image IMa displayed in thedisplay unit 22, the indentation position is disposed manually in that designated position. - Next, the
indenter 17 is pressed onto the surface of the workpiece W to make an indentation in the disposed indentation position (S107). Then, an image is taken of this indentation, and a hardness value calculated based on a shape (size) of the indentation (S108). Then, this indentation position (coordinate value on the composite image) and the hardness value corresponding to that position are displayed in the display unit 22 (S109). - Next, shifting of the
stage 13, imaging of the workpiece W and the image matching processing in steps S101, S102 and S104 are described specifically with reference toFIG. 5 . In an example shown inFIG. 5 , first, an image of the image IM(1) is taken by theimaging unit 12. Next, thestage 13 is shifted in parallel in the −X axis direction by an amount of a range which is slightly smaller than a size of the one-shot imaging range of the imaging unit, 12 in the X axis direction to take images of the images IM(2) and IM(3). Next, thestage 13 is shifted in parallel in the +Y axis direction by an amount of a range which is slightly smaller than a size of the one-shot imaging range of theimaging unit 12 in the Y axis direction to take an image of the image IM(4). Then, thestage 13 is shifted in parallel in the +X axis direction by an amount of a range which is slightly smaller than a size of the one-shot imaging range of theimaging unit 12 in the X axis direction to take images of the images IM(5) and IM(6). As a result, adjacent images IM(1)-IN(6) are taken so as to include overlapping region images RIM(1)-RIM(7) that overlap one another to configure a composite portion. Subsequently, image matching is performed to match patterns inside the overlapping region images RIM(1)-RIM(7) (image matching processing). Then, the composite image IMa is generated by joining the adjacent images IM(1)-IM(6) at a position where the image matching is performed in the image matching processing. These composite image IMa, images IM(1)-IM(6), and overlapping region images RIM(1)-RIM(7) are displayed in thedisplay unit 22. - Next, the image matching processing in the above-mentioned step S104 is described specifically with reference to
FIG. 6 .FIG. 6 shows an example where image matching is performed on the overlapping region images RIM(1) and RIM(2) of the images IM(1) and IM(2) to generate the composite image IMa. First, the overlapping region images RIM(1) and RIM(2) of the images IM(1) and IM(2) are extracted (S1041). - Then, the overlapping region images RIM(1) and RIM(2) each undergo image compression by a thinning processing or the like to generate compressed images SRIM(1) and SRIM(2) (S1042). Reducing a data amount subject to arithmetic processing in the image matching processing by this processing of step S1042 makes it possible to reduce time required in the image matching processing that follows this processing of step S1042.
- Next, the fellow data-compressed compressed images SRIM(1) and SRIM(2) undergo image matching (macro-matching) to calculate a misalignment amount between the images IM(1) and IM(2) (relative position between the compressed images) (S1043). The two images IM(1) and IM(2) can be joined based on this misalignment amount to obtain the composite image IMa. When matching processing is to be performed even more accurately, it is preferable to perform image matching (micro-matching) using the pre-compression overlapping region images RIM(1) and RIM(2) in the images IM(1) and IM(2) with this misalignment amount as an initial value (S1044). This allows searching to be commenced from a vicinity of a final matching position, hence enables the misalignment amount of the two images IM(1) and IM(2) to be more accurately obtained by a small amount of processing, whereby a composite image IMa having no discontinuous portion can be generated based on this misalignment amount.
- Note that, in addition to the above-described processing, or in place of the image matching (S1042, S1043, S1044), a processing of the kind shown in
FIG. 7 , for example, may be performed. That is, the overlapping region images RIM(1) and RIM(2) are each binarized into a region of high brightness and a region of low brightness based on a certain threshold value to generate binarized images BIM(1) and BIM(2). Next, the fellow binarized images BIM(1) and BIM(2) undergo image matching (macro-matching) to calculate a misalignment amount between the images IM(1) and IM(2) (misalignment amount between the binarized images). The two images IM(1) and IM(2) can be joined based on this misalignment amount to obtain the composite image IMa. When matching processing is to be performed even more accurately, it is preferable to then perform image matching (micro-matching) of a fine pattern in the region of high brightness in the overlapping region images RIM(1) and RIM(2) with this misalignment amount as an initial value, and thereby calculate a final misalignment amount between the images IM(1) and IM(2). Then, a composite image IMa having no discontinuous portion can be generated based on this misalignment amount. - Moreover, in addition to the above-described processing, or in place of the image matching (S1042, S1043, S1044), a processing of the kind shown in
FIG. 8 , for example, may be performed. That is, edge images EIM(1) and EIM(2) are generated, the edge images EIM(1) and EIM(2) having an outline (edge) only of an image extracted from each of the overlapping region images RIM(1) and RIM(2). Next, the fellow edge images EIM(1) and EIM(2) undergo image matching (macro-matching) to calculate a misalignment amount between the images IM(1) and IM(2) (misalignment amount between the edge images). The two images IM(1) and IM(2) can be joined based on this misalignment amount to obtain the composite image IMa. When matching processing is to be performed even more accurately, it is preferable to perform image matching (micro-matching) of the overlapping region images RIM(1) and RIM(2) in the images IM(1) and IM(2) with this misalignment amount as an initial value. Even this kind of processing allows a composite image IMa having no discontinuous portion to be generated. - Next, calculation of the stage shifting amount in the above-mentioned step S105 is described specifically with reference to
FIG. 9 .FIG. 9 shows an example where the stage shifting amount in the X axis and Y axis directions in which thestage 13 is shiftable is calculated based on the misalignment amount between the image IM(1) and the image IM(2) in the composite image IMa. Now, a coordinate system (X′, Y′) is set in the composite image IMa. An axis X′ and an axis Y′ in the coordinate system (X′, Y′) of the composite image are mutually orthogonal and are set parallel to the axis x and the axis y, respectively, in the coordinate system (x, y) of theimaging unit 12. On the other hand, as mentioned above, the coordinate system (X, Y) of thestage 13 is misaligned with the coordinate system (x, y) of theimaging unit 12 by an angle θ, hence the coordinate system (X′, Y′) of the composite image IMa is also misaligned with the coordinate system (X, Y) of thestage 13 by the angle θ. - In the example shown in
FIG. 9 , the misalignment amount of the image IM(2) with respect to the image IM(1) in the composite image IMa when thestage 13 is shifted by an amount of ΔX in the X axis direction is assumed to be ΔX′, and the misalignment amount in the Y axis direction is assumed to be ΔY′. The stage shifting amounts ΔX and ΔY are obtained with respect to these ΔX′ and ΔY′ in view of the angle θ. In this case, since the angle θ is assumed to be an extremely small value (for example, less than 6×10−4 rad), the angle θ may be obtained by an approximation formula “(ΔY′/ΔX′)=tan θ≈θ”. Also, “sin θ≈θ” and “cos θ≈1”. It can be understood from these that the stage shifting amount ΔX in the X axis direction and the stage shifting amount ΔY in the Y axis direction need only have original shifting amounts ΔX0 and ΔY0 increased or decreased by amounts of ΔY0·θ in the X axis direction and ΔX0·θ in the Y axis direction. These stage shifting amounts ΔX and ΔY allow thestage 13 to be shifted along a path designated by the coordinate system (X′, Y′) of the composite image. - As described above, the present embodiment makes it possible to generate a composite image IMa having no discontinuity at a composite portion, easily and at low cost, without adjusting the coordinate system of the
stage 13 and the coordinate system of theimaging unit 12. The present embodiment also makes it possible to shift thestage 13 accurately based on the coordinate system of the composite image by calculating the stage shifting amount. - Next, a hardness testing device according to a second embodiment is described with reference to
FIG. 10 . The hardness testing device according to the second embodiment includes ahardness testing machine 30 different to that in the first embodiment. The second embodiment differs from the first embodiment in this point only, and is similar to the first embodiment regarding other configurations and operation. - As shown in
FIG. 10 , thehardness testing machine 30 includes abase 31 and asupport 32 extending in a Z direction from thebase 31. Provided on an upper surface of thebase 31 is astage 33 shiftable in an X direction and a Y direction. Thestage 33 is configured such that its upper surface is mountable with the workpiece W. Provided to a side surface of thesupport 32 is aunit 34 shiftable in the Z direction. - The
unit 34 is provided with animaging unit 35 and aturret 36. Theimaging unit 35 takes an image of the workpiece W mounted on thestage 33. Theturret 36 is provided at a lower end of theunit 34, is configured rotatable around a turret rotating shaft parallel to the Z axis, and includes on its lower side anindenter 37 andobjective lenses imaging unit 35. Similar advantages to those of the first embodiment are displayed, even with the above-describedhardness testing machine 30 according to the second embodiment. - Next, a hardness testing device according to a third embodiment is described. The hardness testing device according to the third embodiment differs from that of the first embodiment in a method of shifting of the
stage 13 only. Now, in the above-described first embodiment, an image of a designated region of the workpiece W is taken. In contrast, in the third embodiment, as shown inFIG. 11 , an edge E of the workpiece W is tracked based on an image taken beforehand (edge tracking processing), and an image is taken of images IM(1)-IM(4) along that edge E. Then, in the third embodiment, the previously mentioned image matching is executed on those images IM(1)-IM(4) to generate the composite image IMa. - Next, the edge tracking processing is described with reference to
FIGS. 12 and 13 .FIG. 12 is a flowchart showing the edge tracking processing, andFIG. 13 is a view for explaining this processing and showsimage information 41 indicating a part of the workpiece W displayed in thedisplay unit 22. Theimage information 41 shown inFIG. 13 includes anedge 42 which is attempting to be tracked. Therefore, first, themouse 24 and so on are operated to set an initial position of arectangular window 43 indicating a measuring region so as to include a part of theedge 42 inside the window 43 (FIG. 12 , S201). For example, as shown inFIG. 13 , thewindow 43 is designated by the likes of an operation that sets four corners A, B, C, and D of thewindow 43 by click operation of themouse 24, or an operation that, after designating two points at opposing corner directions of the rectangle, inclines that rectangular region at any angle to shift the rectangular region by a drag operation. Note that, at this time, a direction for tracking along theedge 42 is also designated. - When the initial position of the
window 43 is set, next, a plurality of edge points 44 are detected from multi-value image information in the window 43 (FIG. 12 , S202).FIG. 14 shows details of this sampling. An interval of sampling of the edge points shown inFIG. 14 is set previously. First, as shown inFIG. 14 , multi-value image information of an address indicated by x and y coordinates is extracted, from a start point A(xa, ya) to an end point B (xb, yb), while changing an x coordinate cos θ at a time [where θ is an inclination of the window 43] and a y coordinate sin θ at a time. An appropriate threshold level is set from the obtained multi-value point sequence data, and sampling is performed, the sampling setting a point where this threshold level and the point sequence data intersect as an edge point. Next, the start point and the end point are shifted by amounts of Δ·sin θ and θ·cos θ, respectively, and similar sampling is executed. When the above processing is performed successively to a start point C (xc, yc) and end point D (xd, yd), sampling of the plurality of edge points 44 at the previously set interval Δ is completed. - Next, an approximate line is fitted to sampling values of the obtained plurality of edge points 44 by, for example, a method of least squares (
FIG. 12 , S203). Now, as shown inFIG. 15 , if an approximate line L is assumed to be obtained from the sampling values of the edge points 44 obtained by thewindow 43, then anext window 43′ is determined so as to conform with this approximate line L (FIG. 12 , S204). Therefore, first, a perpendicular line is dropped to the approximate line L from anedge point 43a nearest to an edge in the shifting direction of thewindow 43 obtained by thepresent window 43, then a point P1 and a point P2 are obtained, the point P1 being separated from a crossing point of the perpendicular line and the approximate line L by an amount of H·m/100 (where H is a height of the window and m is a previously set duplication rate (%)) along the approximate line L in an opposite direction to the shifting direction of thewindow 43, and the point P2 being separated from the point P1 by an amount of H in the shifting direction of thewindow 43. Next, points that are on lines orthogonal to the approximate line L at each of points P1 and P2 and that are each separated from the approximate line L by an amount of W/2 (where W is a width of the window) are set as points A′, B′, C′, and D′ at four corners of anew window 43′. As a result, thenext window 43′ is determined. - When the
next window 43′ is determined, thewindow 43 is shifted sequentially while performing sampling of edge points and fitting of an approximate line in thewindow 43′ similarly to as previously mentioned. Then, when the edge to be tracked is all tracked, the processing is completed (FIG. 12 , S205). - This concludes description of embodiments of the present invention, but it should be noted that the present invention is not limited to the above-described embodiments, and that various alterations, additions, and so on, are possible within a range not departing from the scope and spirit of the invention. For example, disposition of the indentation position may also be based on the likes of CAD data or shape data of a workpiece of a profile measuring instrument.
- In addition, shifting of the
stages unit 34 may also be performed manually. Moreover, when any position on the composite image IMa displayed in thedisplay unit 22 is designated by an operator by thekeyboard 23 and themouse 24, an image of that designated position may also be taken by theimaging unit 12.
Claims (20)
1. An image processing device, comprising:
an imaging unit for taking an image of a measuring object;
a stage configured to be mountable with the measuring object and to be shiftable relatively with respect to the imaging unit; and
a control unit for shifting the imaging unit relatively with respect to the stage to take an image of the measuring object at a plurality of places by the imaging unit and thereby obtain a plurality of images, and for generating a composite image of the measuring object having a range which is wider than an imaging range of the imaging unit by combining the obtained plurality of images or images obtained by a certain processing from the obtained plurality of images,
the control unit shifting the imaging unit relatively with respect to the stage such that parts of images adjacent to one another obtained by the imaging unit overlap,
the control unit performing an image matching processing that performs image matching of an overlapping portion of the adjacent images, and
the control unit generating the composite image of the measuring object by joining the adjacent images at a position where the image matching is performed in the image matching processing.
2. The image processing device according to claim 1 , wherein
the control unit calculates a misalignment amount of coordinates in the image and the stage by the image matching processing, and controls shifting of the imaging unit with respect to the stage based on the misalignment amount.
3. The image processing device according to claim 1 , wherein
the control unit performs image compression of the overlapping portion to generate a compressed image, and performs the image matching processing to the compressed image.
4. The image processing device according to claim 1 , wherein
the control unit binarizes the overlapping portion to generate a binarized image, and performs the image matching processing to the binarized image.
5. The image processing device according to claim 1 , wherein
the control unit extracts an outline of the overlapping portion to generate an edge image, and performs the image matching processing to the edge image.
6. The image processing device according to claim 1 , wherein
the control unit performs image compression of the overlapping portion to generate a compressed image, performs image matching of fellow compressed images to obtain a relative position between the compressed images, and executes the image matching processing with the relative position between the compressed images as an initial value.
7. The image processing device according to claim 1 , wherein
the control unit binarizes the overlapping portion to generate a binarized image, performs image matching of fellow binarized images to obtain a relative position between the binarized images, and executes the image matching processing with the relative position between the binarized images as an initial value.
8. The image processing device according to claim 1 , wherein
the control unit extracts an outline of the overlapping portion to generate an edge image, performs image matching of fellow edge images to obtain a relative position between the edge images, and executes the image matching processing with the relative position between the edge images as an initial value.
9. The image processing device according to claim 1 , wherein
the control unit sets a window in an image that includes an edge such that a part of the edge is included in the window, detects a plurality of edge points in the set window from image information in the set window, fits an approximate line to the detected plurality of edge points, and sets a next new window such that a partial region of the new window overlaps a current window along the fitted approximate line, and
the control unit, by repeating sequentially detection of the edge points, fitting of the approximate line, and generation of the new window based on the image information in the new window, extracts required measurement points in the window while shifting the window along the edge of the image.
10. The image processing device according to claim 1 , further comprising:
an indenter for making an indentation in the measuring object,
wherein the control unit receives designation of a position for making the indentation based on the composite image.
11. The image processing device according to claim 10 , further comprising:
a plurality of objective lenses for the imaging unit; and
a turret for disposing the indenter and the plurality of objective lenses at a certain position.
12. An image processing device, comprising:
an imaging unit for taking an image of a measuring object;
a stage configured to be mountable with the measuring object and to be shiftable relatively with respect to the imaging unit; and
a control unit for shifting the imaging unit relatively with respect to the stage to take an image of the measuring object at a plurality of places by the imaging unit and thereby obtain a plurality of images,
the control unit shifting the imaging unit relatively with respect to the stage such that parts of images adjacent to one another obtained by the imaging unit overlap,
the control unit performing an image matching processing that per forms image matching of an overlapping portion of the adjacent images, and
the control unit calculating a misalignment amount of coordinates in the image and the stage by the image matching processing, and controlling shifting of the imaging unit with respect to the stage based on the misalignment amount.
13. The image processing device according to claim 12 , wherein
the control unit performs image compression of the overlapping portion to generate a compressed image, and performs the image matching processing to the compressed image.
14. The image processing device according to claim 12 , wherein
the control unit binarizes the overlapping portion to generate a binarized image, and performs the image matching processing to the binarized image.
15. The image processing device according to claim 12 , wherein
the control unit extracts an outline of the overlapping portion to generate an edge image, and performs the image matching processing to the edge image.
16. A method of image processing, in which an imaging unit for taking an image of a measuring object and a stage configured to be mountable with the measuring object and to be shiftable relatively with respect to the imaging unit are employed to shift the imaging unit relatively with respect to the stage to take an image of the measuring object at a plurality of places by the imaging unit and thereby obtain a plurality of images, and to generate a composite image of the measuring object having a range which is wider than an imaging range of the imaging unit by combining the obtained plurality of images or images obtained by a certain processing from the obtained plurality of images, the method comprising:
shifting the imaging unit relatively with respect to the stage such that parts of images adjacent to one another obtained by the imaging unit overlap;
performing an image matching processing that performs image matching of an overlapping portion of the adjacent images; and
generating the composite image of the measuring object by joining the adjacent images at a position where the image matching is performed in the image matching processing.
17. The method of image processing according to claim 16 , further comprising:
calculating a misalignment amount of coordinates in the image and the stage by the image matching processing, and controlling shifting of the imaging unit with respect to the stage based on the misalignment amount.
18. The method of image processing according to claim 16 , further comprising:
performing image compression of the overlapping portion to generate a compressed image, and performing the image matching processing to the compressed image.
19. The method of image processing according to claim 16, further comprising:
binarizing the overlapping portion to generate a binarized image, and performing the image matching processing to the binarized image.
20. The method of image processing according to claim 16 , further comprising:
extracting an outline of the overlapping portion to generate an edge image, and performing the image matching processing to the edge image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/070,148 US9390324B1 (en) | 2012-02-21 | 2016-03-15 | Image processing device and method of image processing |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012-034779 | 2012-02-21 | ||
JP2012034779A JP5923824B2 (en) | 2012-02-21 | 2012-02-21 | Image processing device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/070,148 Continuation US9390324B1 (en) | 2012-02-21 | 2016-03-15 | Image processing device and method of image processing |
Publications (1)
Publication Number | Publication Date |
---|---|
US20130215263A1 true US20130215263A1 (en) | 2013-08-22 |
Family
ID=47044733
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/545,269 Abandoned US20130215263A1 (en) | 2012-02-21 | 2012-07-10 | Image processing device and method of image processing |
US15/070,148 Active US9390324B1 (en) | 2012-02-21 | 2016-03-15 | Image processing device and method of image processing |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/070,148 Active US9390324B1 (en) | 2012-02-21 | 2016-03-15 | Image processing device and method of image processing |
Country Status (5)
Country | Link |
---|---|
US (2) | US20130215263A1 (en) |
EP (1) | EP2631868B1 (en) |
JP (1) | JP5923824B2 (en) |
KR (1) | KR101924191B1 (en) |
CN (1) | CN103257085B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150228082A1 (en) * | 2006-09-05 | 2015-08-13 | Pc Connection, Inc. | Background separated images for print and on-line use |
US20170074765A1 (en) * | 2015-09-10 | 2017-03-16 | Mitutoyo Corporation | Hardness test apparatus and hardness testing method |
US10475202B2 (en) * | 2016-02-05 | 2019-11-12 | Mitutoyo Corporation | Image measuring device and program |
US10580163B2 (en) * | 2016-08-19 | 2020-03-03 | SCREEN Holdings Co., Ltd. | Displacement detecting apparatus, displacement detecting method and substrate processing apparatus |
US11024049B2 (en) * | 2018-08-31 | 2021-06-01 | Keyence Corporation | Image measurement apparatus |
CN113375555A (en) * | 2018-07-02 | 2021-09-10 | 广西电网有限责任公司北海供电局 | Power line clamp measuring method and system based on mobile phone image |
US11536943B2 (en) | 2020-05-19 | 2022-12-27 | Carl Zeiss Microscopy Gmbh | Microscope and method for generating an image pieced together from a plurality of individual microscope images |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104749056A (en) * | 2014-07-22 | 2015-07-01 | 施周平 | Coating hardness tester |
CN104227250B (en) * | 2014-09-16 | 2016-06-22 | 佛山市利迅达机器人系统有限公司 | Robot three-dimensional based on plane seeks a method for correcting error and welding robot |
JP6530287B2 (en) * | 2015-09-10 | 2019-06-12 | 株式会社ミツトヨ | Hardness tester and hardness test method |
AT518859B1 (en) * | 2016-08-12 | 2018-02-15 | Qness Gmbh | Method and device for hardness testing |
CN107036868A (en) * | 2017-06-19 | 2017-08-11 | 中国工程物理研究院激光聚变研究中心 | Device and method for preparing fused quartz optical component surface damage |
JP2019015527A (en) | 2017-07-04 | 2019-01-31 | 株式会社ミツトヨ | Image measurement device and program |
EP3451279A1 (en) * | 2017-08-30 | 2019-03-06 | SMR Patents S.à.r.l. | Rear view mirror simulation |
DE102018126050A1 (en) * | 2018-10-19 | 2020-04-23 | Fraunhofer-Gesellschaft für die angewandte Forschung e.V. | METHOD FOR SORTING SUPPORTING DISPLAYS OF WORKPIECE REPRESENTATIONS |
US11733181B1 (en) | 2019-06-04 | 2023-08-22 | Saec/Kinetic Vision, Inc. | Imaging environment testing fixture and methods thereof |
CN110517318B (en) * | 2019-08-28 | 2022-05-17 | 昆山国显光电有限公司 | Positioning method and device, and storage medium |
CN112530823B (en) * | 2020-10-30 | 2024-02-06 | 普冉半导体(上海)股份有限公司 | Method for detecting coordinate deviation in electronic bitmap in wafer test process |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11331556A (en) * | 1998-05-20 | 1999-11-30 | Dainippon Screen Mfg Co Ltd | Image processor |
US6798923B1 (en) * | 2000-02-04 | 2004-09-28 | Industrial Technology Research Institute | Apparatus and method for providing panoramic images |
US20050265593A1 (en) * | 2002-10-18 | 2005-12-01 | Hauck John M | Indentation hardness test system |
US20060256397A1 (en) * | 2005-05-12 | 2006-11-16 | Lexmark International, Inc. | Method and system for combining images |
US20070084927A1 (en) * | 2005-10-13 | 2007-04-19 | Denso Wave Incorporated | Imaging device with a two-dimensional photodetector |
US20100329586A1 (en) * | 2009-06-29 | 2010-12-30 | International Business Machines Corporation | Creating emission images of integrated circuits |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6354680A (en) * | 1986-08-26 | 1988-03-09 | Canon Inc | Position detector |
JP2988994B2 (en) * | 1990-10-22 | 1999-12-13 | 三菱電機株式会社 | Positioning device |
JP3672970B2 (en) | 1995-05-22 | 2005-07-20 | 株式会社ミツトヨ | Non-contact image measurement system |
US6148118A (en) * | 1995-07-05 | 2000-11-14 | Minolta Co., Ltd. | Image processing apparatus capable of reproducing large-sized document |
JPH09281405A (en) * | 1996-04-17 | 1997-10-31 | Olympus Optical Co Ltd | Microscopic system |
JP3744166B2 (en) * | 1997-12-29 | 2006-02-08 | 株式会社島津製作所 | Infrared microscope |
JP3586371B2 (en) * | 1998-03-31 | 2004-11-10 | 株式会社日立ハイテクインスツルメンツ | Electronic component recognition device |
GB2383487B (en) * | 2001-12-18 | 2006-09-27 | Fairfield Imaging Ltd | Method and apparatus for acquiring digital microscope images |
JP4328671B2 (en) | 2004-05-31 | 2009-09-09 | 株式会社ミツトヨ | Hardness testing machine |
US7792338B2 (en) * | 2004-08-16 | 2010-09-07 | Olympus America Inc. | Method and apparatus of mechanical stage positioning in virtual microscopy image capture |
JP2010190817A (en) | 2009-02-20 | 2010-09-02 | Mitsutoyo Corp | Indenter attaching jig, hardness tester, and method for attaching indenter |
US9075106B2 (en) * | 2009-07-30 | 2015-07-07 | International Business Machines Corporation | Detecting chip alterations with light emission |
WO2012147907A1 (en) * | 2011-04-28 | 2012-11-01 | 株式会社湯山製作所 | Medicine checking device and apparatus for separately packaging medicines |
-
2012
- 2012-02-21 JP JP2012034779A patent/JP5923824B2/en active Active
- 2012-07-10 US US13/545,269 patent/US20130215263A1/en not_active Abandoned
- 2012-07-25 EP EP12177859.1A patent/EP2631868B1/en active Active
- 2012-07-26 KR KR1020120081725A patent/KR101924191B1/en active IP Right Grant
- 2012-11-20 CN CN201210472526.0A patent/CN103257085B/en active Active
-
2016
- 2016-03-15 US US15/070,148 patent/US9390324B1/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11331556A (en) * | 1998-05-20 | 1999-11-30 | Dainippon Screen Mfg Co Ltd | Image processor |
US6798923B1 (en) * | 2000-02-04 | 2004-09-28 | Industrial Technology Research Institute | Apparatus and method for providing panoramic images |
US20050265593A1 (en) * | 2002-10-18 | 2005-12-01 | Hauck John M | Indentation hardness test system |
US20060256397A1 (en) * | 2005-05-12 | 2006-11-16 | Lexmark International, Inc. | Method and system for combining images |
US20070084927A1 (en) * | 2005-10-13 | 2007-04-19 | Denso Wave Incorporated | Imaging device with a two-dimensional photodetector |
US20100329586A1 (en) * | 2009-06-29 | 2010-12-30 | International Business Machines Corporation | Creating emission images of integrated circuits |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150228082A1 (en) * | 2006-09-05 | 2015-08-13 | Pc Connection, Inc. | Background separated images for print and on-line use |
US9501836B2 (en) * | 2006-09-05 | 2016-11-22 | Pc Connection, Inc. | Background separated images for print and on-line use |
US10194075B2 (en) | 2006-09-05 | 2019-01-29 | Pc Connection, Inc. | Background separated images for print and on-line use |
US10616477B2 (en) | 2006-09-05 | 2020-04-07 | Pc Connection, Inc. | Background separated images for print and on-line use |
US20170074765A1 (en) * | 2015-09-10 | 2017-03-16 | Mitutoyo Corporation | Hardness test apparatus and hardness testing method |
CN106525622A (en) * | 2015-09-10 | 2017-03-22 | 株式会社三丰 | Hardness test apparatus and hardness testing method |
US10024774B2 (en) * | 2015-09-10 | 2018-07-17 | Mitutoyo Corporation | Hardness test apparatus and hardness testing method |
US10475202B2 (en) * | 2016-02-05 | 2019-11-12 | Mitutoyo Corporation | Image measuring device and program |
US10580163B2 (en) * | 2016-08-19 | 2020-03-03 | SCREEN Holdings Co., Ltd. | Displacement detecting apparatus, displacement detecting method and substrate processing apparatus |
CN113375555A (en) * | 2018-07-02 | 2021-09-10 | 广西电网有限责任公司北海供电局 | Power line clamp measuring method and system based on mobile phone image |
US11024049B2 (en) * | 2018-08-31 | 2021-06-01 | Keyence Corporation | Image measurement apparatus |
US11536943B2 (en) | 2020-05-19 | 2022-12-27 | Carl Zeiss Microscopy Gmbh | Microscope and method for generating an image pieced together from a plurality of individual microscope images |
Also Published As
Publication number | Publication date |
---|---|
EP2631868B1 (en) | 2020-10-28 |
CN103257085B (en) | 2017-05-24 |
JP5923824B2 (en) | 2016-05-25 |
KR101924191B1 (en) | 2018-12-03 |
CN103257085A (en) | 2013-08-21 |
US20160196471A1 (en) | 2016-07-07 |
US9390324B1 (en) | 2016-07-12 |
EP2631868A3 (en) | 2017-02-15 |
EP2631868A2 (en) | 2013-08-28 |
JP2013171425A (en) | 2013-09-02 |
KR20130096136A (en) | 2013-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9390324B1 (en) | Image processing device and method of image processing | |
US8233041B2 (en) | Image processing device and image processing method for performing three dimensional measurements | |
US8503758B2 (en) | Image measurement device, method for image measurement, and computer readable medium storing a program for image measurement | |
US8780223B2 (en) | Automatic determination of compliance of a part with a reference drawing | |
WO2012053521A1 (en) | Optical information processing device, optical information processing method, optical information processing system, and optical information processing program | |
US10508995B2 (en) | Three-dimensional image inspection device, three-dimensional image inspection method, three-dimensional image inspection program, and computer-readable recording medium and recording equipment | |
WO2014156723A1 (en) | Shape measurement device, structure production system, shape measurement method, structure production method, and shape measurement program | |
JP7001494B2 (en) | Wafer observation device | |
US20130100170A1 (en) | Image Processing Apparatus And Image Processing Program | |
CN104423142B (en) | Calibration data collection method and system for optical proximity correction model | |
JP2008014700A (en) | Workpiece inspection method and workpiece inspection device | |
JP5439106B2 (en) | Pattern shape evaluation apparatus and method using scanning charged particle microscope | |
WO2011118745A1 (en) | Image processing apparatus, image processing method, and image processing program | |
WO2021075170A1 (en) | Inspection system and non-transitory computer-readable medium | |
JP2009162718A (en) | Substrate inspection apparatus and method for setting inspection area | |
US8351709B2 (en) | Projection height measuring method, projection height measuring apparatus and program | |
JP6184746B2 (en) | Defect detection apparatus, defect correction apparatus, and defect detection method | |
JP2020071739A (en) | Image processing apparatus | |
JP2009079915A (en) | Method and device for measuring micro-dimension | |
JP4097255B2 (en) | Pattern matching apparatus, pattern matching method and program | |
US20170124688A1 (en) | Image processor, image processing method, and measuring apparatus | |
CN109844805B (en) | Image processing element shape data generation system and image processing element shape data generation method | |
JP2014197004A (en) | Image measurement device | |
JP7502641B2 (en) | Recognition System | |
WO2022201422A1 (en) | Image processing device, program, and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: MITUTOYO CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ARIGA, KOZO;KAWAZOE, MASARU;REEL/FRAME:028521/0679 Effective date: 20120702 |
|
STCB | Information on status: application discontinuation |
Free format text: EXPRESSLY ABANDONED -- DURING PUBLICATION PROCESS |