MEASUREMENT APPARATUS AND PROGRAM
First Claim
1. A measurement apparatus comprising:
- an imaging unit that images a subject to generate an image data;
a display unit that displays an image based on the image data;
a region-setting unit that sets, in the image, a predetermined region in the image or a region based on a reference point designated by a user as an extraction region from which an edge of the subject is extracted;
an edge extraction unit that extracts the edge of the subject based on an image of the extraction region;
a display control unit that causes a graphic indicating the extracted edge to be displayed on the display unit together with the image;
an edge selection unit that selects a reference edge from among a plurality of extracted edges based on an instruction from the user when the plurality of edges are extracted;
a three-dimensional coordinate calculation unit that calculates three-dimensional coordinates corresponding to points in the image;
a reference line calculation unit that calculates a reference line on a space based on the three-dimensional coordinates corresponding to a plurality of points constituting the reference edge;
a measurement point designation unit that designates a measurement point in the image; and
a distance calculation unit that calculates a distance between the three-dimensional coordinate corresponding to the measurement point and the reference line.
3 Assignments
0 Petitions
Accused Products
Abstract
A region-setting unit sets, in an image, a region based on one reference point designated by a user in the image or a predetermined region as an extraction region. An edge extraction unit extracts an edge of the subject based on an image of the extraction region. When a plurality of edges are extracted, a display control unit causes a line indicating the plurality of extracted edges to be displayed on a display unit together with the image. An edge selection unit selects a reference edge from among the plurality of extracted edges based on an instruction from the user. A three-dimensional coordinate calculation unit calculates three-dimensional coordinates corresponding to points in the image. A reference line calculation unit calculates a reference line on a space based on the three-dimensional coordinates corresponding to points constituting the reference edge.
-
Citations
7 Claims
-
1. A measurement apparatus comprising:
-
an imaging unit that images a subject to generate an image data; a display unit that displays an image based on the image data; a region-setting unit that sets, in the image, a predetermined region in the image or a region based on a reference point designated by a user as an extraction region from which an edge of the subject is extracted; an edge extraction unit that extracts the edge of the subject based on an image of the extraction region; a display control unit that causes a graphic indicating the extracted edge to be displayed on the display unit together with the image; an edge selection unit that selects a reference edge from among a plurality of extracted edges based on an instruction from the user when the plurality of edges are extracted; a three-dimensional coordinate calculation unit that calculates three-dimensional coordinates corresponding to points in the image; a reference line calculation unit that calculates a reference line on a space based on the three-dimensional coordinates corresponding to a plurality of points constituting the reference edge; a measurement point designation unit that designates a measurement point in the image; and a distance calculation unit that calculates a distance between the three-dimensional coordinate corresponding to the measurement point and the reference line. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product storing a program that causes a computer to perform steps of:
-
Setting a predetermined region in an image which is based on image data by imaging a subject and generated by an imaging unit or a region based on a reference point designated by a user as an extraction region from which an edge of the subject is extracted; extracting the edge of the subject based on an image of the extraction region; causing a graphic indicating the extracted edge to be displayed on a display unit together with the image; selecting a reference edge from among a plurality of extracted edges based on an instruction from the user when the plurality of edges are extracted; calculating three-dimensional coordinates corresponding to points in the image; calculating a reference line on a space based on the three-dimensional coordinates corresponding to a plurality of points constituting the reference edge; designating a measurement point in the image; and calculating a distance between the three-dimensional coordinate corresponding to the measurement point and the reference line.
-
Specification