A measurement method for measuring the location of a surface of an object from an image of a grid image on the surface of the object taken by a camera, comprising the steps of:
- inputting an image taken by a camera in an adjusted state where one grid period of said grid image consists of N pixels where N is an integer greater than 2;
- sampling a number of sequential pixels from the inputted image;
- finding a phase of a frequency component where one period consists of N pixels from the image of the sampled sequential pixels;
- and
- finding the location of the surface of the object from said phase.