Patent ID: 8704890

Claim:
An inspection apparatus comprising: an insertion portion which is inserted into a device under inspection; a projection unit which projects a striped pattern including a plurality of linear patterns onto an object; an imaging unit which is provided in the insertion portion and images the object onto which the striped pattern is projected and generates image data; a specification unit which specifies an area of interest of the object in an image based on a position of the striped pattern in the image based on the image data; and a measurement unit which measures the area of the object using the image data; wherein the specification unit is configured to detect a distance between neighboring lines out of lines in the striped pattern, to detect a point in an outline of the area based on the distance, and to specify the area based on the point, and when a comparison result of the detected distance with a reference value satisfies a predetermined condition, the specification unit detects the position, at which the distance satisfying the condition is detected, as the point.