Patent ID: 7663759
Filing Date: 2010-02-16
Classification: G01B,G06F,G06T

Abstract:
1. A displacement sensor comprising: a floodlighting unit which illuminates a measurement object with a line beam; an imaging unit which takes an image of the line beam on an imaging unit light acceptance surface, wherein a position of the image of the line beam on the light acceptance surface changes according to a height of a surface of the measurement object illuminated with the line beam; a processing unit which obtains a height distribution in relation to a direction along the line beam on the surface of the measurement object based on the taken image including the line beam image obtained from the imaging unit, performs a measurement process previously set based on a plurality of local regions or feature points on the obtained height distribution in relation to the direction along the line beam, and performs a setting process for setting a content of the measurement process; a display unit which displays the taken image and a screen for the setting; an input unit which receives an input for performing the setting; and an output unit which outputs a result of the measurement process, wherein, in the setting process, the processing unit displays the taken image on the display unit, and sets the taken image as a setting object image, the taken image being displayed on the display unit when a confirmation instruction is inputted through the input unit, in the measurement process for the setting object image, the processing unit simultaneously displays an option in which measurement is performed based on, as a reference line or a reference point, a line or a point relatively located in an upper portion of the line beam image included in the setting object image and an option in which measurement is performed based on, as a reference line or a reference point, a line or a point relatively located in a lower portion of the line beam image, or simultaneously displays an option in which measurement is performed based on, as a reference line or a reference point, a line or a point relatively located on a left side of the line beam image included in the setting object image or an option in which measurement is performed based on, as a reference line or a reference point, a line or a point relatively located on a right side of the line beam image, receives an option selection input through the input unit, and sets a kind of the measurement process to be set while the reference line or reference point for the measurement process is distinguished from others, the processing unit sets one measurement process target region in the setting object image, the one measurement process target region becoming a target of the measurement process, and the processing unit automatically sets a local region or a feature point according to a relative positional relationship between the line beam image and the set reference line or reference point, the local region or feature point being necessary to perform the set measurement process to the line beam image included in the one measurement process target region.