IP Library › Granted Patent US 10,282,837
Granted Patent B2
US 10,282,837 · App. 15/250,052 · Granted May 7, 2019

Image measuring apparatus and non-temporary recording medium on which control program of same apparatus is recorded

Inventor: Masaki Kurihara (Kawasaki, JP)
Assignee: MITUTOYO CORPORATION
G06T7/0012G06K9/4604G06K9/4671G06K9/6207G06T7/60G06K2009/4666G06T2207/20112G06T2207/20116G06T2207/30164
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,282,837
App. No.
15/250,052
Granted
May 7, 2019
Kind
B2
Abstract

An image measuring apparatus according to an embodiment of the present invention comprises: an imaging device that images a workpiece to acquire an image of this workpiece; and a processing device that performs measurement of the workpiece based on this image and outputs a measurement result. Moreover, the processing device sets a region in the image, sets a plurality of first points along a contour line of this region, sequentially moves these plurality of first points so that the plurality of first points approximate to the contour line included in the image, acquires the moved plurality of first points as a plurality of second points, and calculates the measurement result based on these plurality of second points.

Claims (87)

1. An image measuring apparatus, comprising:

an imaging device that images a workpiece to acquire an image of the workpiece; and

a processing device that extracts a portion representing a measurement target of the workpiece from within the image by analyzing the image, performs measurement of the workpiece based on the analyzed image and outputs a measurement result,

wherein the processing device analyzes the image by:

setting a region in the image, and setting a plurality of positional information of first points along a contour line of this region;

setting an evaluation function regarding the plurality of positional information of the first points such that the evaluation function approximates to an optimum value as intervals between the first points adjacent to each other decrease and a gradient of density around the first points in the image increases; and

sequentially changing the plurality of positional information of the first points so that the evaluation function approaches the optimum value, stopping changing the plurality of positional information of the first points at a timing when the evaluation function reaches the optimum value and acquiring the changed plurality of positional information of the first points as a plurality of positional information of second points, and

the processing device performs measurement of the workpiece by:

setting an edge detection tool in the image based on the plurality of positional information of second points; and

performing edge detection using the edge detection tool and detecting the result of the edge detection as the measurement result.

2. The image measuring apparatus according to claim 1 , wherein

the processing device

at a stage of teaching, acquires a condition relating to the region and acquires the plurality of positional information of first points, and

at a stage of automatic measurement, sets the plurality of positional information of first points acquired at the stage of teaching and performs measurement according to the condition.

3. The image measuring apparatus according to claim 1 , wherein

the edge detection tool includes a plurality of line segments set at equal intervals, and

the processing device acquires a plurality of edge points along the plurality of line segments.

4. An image measuring apparatus, comprising:

an imaging device that images a workpiece to acquire an image of the workpiece; and

a processing device that extracts a portion representing a measurement target of the workpiece from within the image by analyzing the image, performs measurement of the workpiece based on the analyzed image and outputs a measurement result,

wherein the processing device analyzes the image by:

setting a region in the image, and setting a plurality of positional information of first points along a first contour line of this region;

setting an evaluation function regarding the plurality of positional information of the first points such that the evaluation function approximates to an optimum value as intervals between the first points adjacent to each other decrease and a gradient of density around the first points in the image increases; and

sequentially changing the plurality of positional information of the first points so that the evaluation function approaches the optimum value, stopping changing the plurality of positional information of the first points at a timing when the evaluation function reaches the optimum value and acquiring the changed plurality of positional information of the first points as a plurality of positional information of second points, and

the processing device performs measurement of the workpiece by:

setting a second contour line in the image based on the plurality of positional information of second points;

setting a plurality of line segments each extending in a direction intersecting the second contour line, along the second contour line; and

performing edge detection along the line segments and detecting the result of the edge detection as the measurement result.

5. The image measuring apparatus according to claim 4 , wherein

the processing device

at a stage of teaching, acquires a condition relating to the region and acquires the plurality of positional information of first points, and

at a stage of automatic measurement, sets the plurality of positional information of first points acquired at the stage of teaching and performs measurement according to the condition.

6. The image measuring apparatus according to claim 1 , wherein

the workpiece comprises a through hole positioned inside of a contour line of the workpiece, and

the processing device, after having acquired the plurality of positional information of the second points,

fills an outside of a region surrounded by the plurality of second points with a same color, density or tone as a color, density or tone of the workpiece,

further changes the plurality of positional information of the second points so that the evaluation function approaches the optimum value, and

calculates another measurement result based on the changed plurality of positional information of the second points.

7. A non-transitory recording medium which is computer-readable and has recorded thereon a control program of an image measuring apparatus,

the image measuring apparatus comprising:

an imaging device that images a workpiece to acquire an image of the workpiece; and

a processing device that extracts a portion representing a measurement target of the workpiece from within the image by analyzing the image, performs measurement of the workpiece based on the analyzed image and outputs a measurement result,

the control program of the image measuring apparatus controlling the image measuring apparatus to perform calculation of the measurement result,

wherein the control program, by the processing device, analyzes the image by:

setting a region in the image, and setting a plurality of positional information of first points along a contour line of this region;

setting an evaluation function regarding the plurality of positional information of the first points such that the evaluation function approximates to an optimum value as intervals between the first points adjacent to each other decrease and a gradient of density around the first points in the image increases; and

sequentially changing the plurality of positional information of the first points so that the evaluation function approaches the optimum value, stopping changing the plurality of positional information of the first points at a timing when the evaluation function reaches the optimum value and acquiring the changed plurality of positional information of the first points as a plurality of positional information of second points, and

the control program, by the processing device, performs measurement of the workpiece by:

setting an edge detection tool in the image based on the plurality of positional information of second points; and

performing edge detection using the edge detection tool and detecting the result of the edge detection as the measurement result.

8. The non-transitory recording medium according to claim 7 , wherein

the program, by the processing device,

at a stage of teaching, acquires a condition relating to the region and acquires the plurality of positional information of first points, and

at a stage of automatic measurement, sets the plurality of positional information of first points acquired at the stage of teaching and performs measurement according to the condition.

9. The non-transitory recording medium according to claim 7 , wherein

the edge detection tool includes a plurality of line segments set at equal intervals, and

the processing device acquires a plurality of edge points along the plurality of line segments.

10. The non-transitory recording medium according to claim 7 , wherein

the workpiece comprises a through hole positioned inside of a contour line of the workpiece, and

the processing device, after having acquired the plurality of positional information of the second points,

fills an outside of a region surrounded by the plurality of second points with a same color, density or tone as a color, density or tone of the workpiece,

further changes the plurality of positional information of the second points so that the evaluation function approaches the optimum value, and

calculates another measurement result based on the changed plurality of positional information of the second points.

11. The image measuring apparatus according to claim 2 , wherein

at the stage of automatic measurement, the positional information of first points is set in the image in spite of information included in the image.

12. The image measuring apparatus according to claim 1 , wherein

a form of the edge detection tool is selected based on the plurality of positional information of second points.

13. The image measuring apparatus according to claim 1 , wherein

the edge detection tool includes a plurality of boxes, each of the boxes includes a plurality of line segments,

the processing device acquires a plurality of edge points along the plurality of line segments, and

a distance between one and another of the plurality of boxes is adjusted based on the plurality of positional information of second points.

14. The image measuring apparatus according to claim 5 , wherein

at the stage of automatic measurement, the positional information of first points is set in the image in spite of information included in the image.

15. The image measuring apparatus according to claim 4 , wherein

a form of the edge detection tool is selected based on the plurality of positional information of second points.

16. The image measuring apparatus according to claim 4 , wherein

the edge detection tool includes a plurality of boxes, each of the boxes includes a plurality of line segments,

the processing device acquires a plurality of edge points along the plurality of line segments, and

a distance between one and another of the plurality of boxes is adjusted based on the plurality of positional information of second points.

17. The non-transitory recording medium according to claim 8 , wherein

at the stage of automatic measurement, the positional information of first points is set in the image in spite of information included in the image.

18. The non-transitory recording medium according to claim 7 , wherein

a form of the edge detection tool is selected based on the plurality of positional information of second points.

19. The non-transitory recording medium according to claim 7 , wherein

the edge detection tool includes a plurality of boxes, each of the boxes includes a plurality of line segments,

the processing device acquires a plurality of edge points along the plurality of line segments, and

a distance between one and another of the plurality of boxes is adjusted based on the plurality of positional information of second points.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 29, 2016
From: KURIHARA, MASAKI
To: MITUTOYO CORPORATION
Reel/Frame 039569/0916 →
Priority Claims (1)
JP 2015-170614 · Aug 31, 2015 · national
Continuity (1)
Related Publication 20170061614A1 · Mar 2, 2017
Cited By (1)
US 12,320,630